We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3121a2 commit e358515Copy full SHA for e358515
src/main/scala/Plugin.scala
@@ -47,8 +47,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
47
val path = settings.baseUrl.getOrElse(context.getContextPath)
48
Seq(
49
".*" -> s"""
50
- |$$('a.brand').after(
51
- | $$('<span style="float: left; margin-top: 10px;">| <a href="${path}/gist" style="color: black;">Snippet</a></span>')
+ |$$('a.global-header-menu:last').after(
+ | $$('<a href="${path}/gist" class="global-header-menu">Gist</a>')
52
|);
53
""".stripMargin
54
)
0 commit comments