mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 23:15:49 +01:00
(refs #1161)Add new extension point to add a tab to the profile page
This commit is contained in:
@@ -72,8 +72,8 @@
|
||||
}
|
||||
}
|
||||
@gitbucket.core.plugin.PluginRegistry().getGlobalMenus.map { menu =>
|
||||
@menu.createLink(context).map { case (label, link) =>
|
||||
<a href="@path/@link" class="global-header-menu">@label</a>
|
||||
@menu(context).map { link =>
|
||||
<a href="@path/@link.path" class="global-header-menu">@link.label</a>
|
||||
}
|
||||
}
|
||||
@if(loginAccount.isDefined){
|
||||
|
||||
Reference in New Issue
Block a user