From 55bc837be3a768928fc397770ad4dcddf268ebbe Mon Sep 17 00:00:00 2001 From: dcore94 Date: Mon, 10 Jul 2023 15:45:07 +0200 Subject: [PATCH] fine tuining visuals --- ccp/js/methodlistcontroller.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ccp/js/methodlistcontroller.js b/ccp/js/methodlistcontroller.js index 83fb675..f287eaa 100644 --- a/ccp/js/methodlistcontroller.js +++ b/ccp/js/methodlistcontroller.js @@ -418,7 +418,7 @@ class CCPMethodList extends HTMLElement{ this.toArchive(id) } }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) } } @@ -454,7 +454,8 @@ class CCPMethodList extends HTMLElement{ apply : (e,d)=>{ if(this.isShared(d)){ const span = document.createElement("span") - span.classList.add("bg-warning") + span.classList.add("badge") + span.classList.add("badge-warning") span.textContent = "shared" e.replaceWith(span) }else if(!this.isAuthor(d)){