(refs #1161)Add new extension point to add a tab to the profile page

This commit is contained in:
Naoki Takezoe
2016-04-03 03:02:06 +09:00
parent 102a02d527
commit c851b7582f
4 changed files with 37 additions and 26 deletions

View File

@@ -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){