fine tuining visuals

This commit is contained in:
dcore94 2023-07-10 15:45:07 +02:00
parent 41f245d4a4
commit 55bc837be3
1 changed files with 3 additions and 2 deletions

View File

@ -418,7 +418,7 @@ class CCPMethodList extends HTMLElement{
this.toArchive(id) this.toArchive(id)
} }
}else if(ev.target.getAttribute("name") === "publish"){ }else if(ev.target.getAttribute("name") === "publish"){
if(confirm("Please confirm publication of method to VRE?")){ if(confirm("Please confirm publication of method to Vlab?")){
this.publish(id) this.publish(id)
} }
} }
@ -454,7 +454,8 @@ class CCPMethodList extends HTMLElement{
apply : (e,d)=>{ apply : (e,d)=>{
if(this.isShared(d)){ if(this.isShared(d)){
const span = document.createElement("span") const span = document.createElement("span")
span.classList.add("bg-warning") span.classList.add("badge")
span.classList.add("badge-warning")
span.textContent = "shared" span.textContent = "shared"
e.replaceWith(span) e.replaceWith(span)
}else if(!this.isAuthor(d)){ }else if(!this.isAuthor(d)){