diff --git a/src/main/twirl/gitbucket/core/helper/copy.scala.html b/src/main/twirl/gitbucket/core/helper/copy.scala.html index 7811063..d0172ab 100644 --- a/src/main/twirl/gitbucket/core/helper/copy.scala.html +++ b/src/main/twirl/gitbucket/core/helper/copy.scala.html @@ -1,8 +1,16 @@ -@(id: String, value: String, prepend: Boolean = false)(html: Html) -
- @html - -
+@(id: String, value: String, style: String = "")(html: Html = Html("")) +@if(html.body.nonEmpty){ +
+ @html + + + +
+} else { + +}