summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/RootPage.html
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-22 16:08:52 -0400
committerJames Moger <james.moger@gitblit.com>2014-05-05 11:19:31 -0400
commit859deba551b5e6850fb6331084493a402cecce45 (patch)
treecbeba44c0edc97cb05c68c5123a903014f140302 /src/main/java/com/gitblit/wicket/pages/RootPage.html
parent856f3fc2a8365c141d1418d3cfff502be233c104 (diff)
downloadgitblit-859deba551b5e6850fb6331084493a402cecce45.tar.gz
gitblit-859deba551b5e6850fb6331084493a402cecce45.zip
Integrate admin menu into user menu and add user menu extension
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/RootPage.html')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/RootPage.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/RootPage.html b/src/main/java/com/gitblit/wicket/pages/RootPage.html
index 11f7f38d..2ff305f2 100644
--- a/src/main/java/com/gitblit/wicket/pages/RootPage.html
+++ b/src/main/java/com/gitblit/wicket/pages/RootPage.html
@@ -51,16 +51,18 @@
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" style="text-decoration: none;" href="#"><span wicket:id="username"></span> <b class="caret"></b></a>
<ul class="dropdown-menu">
- <li style="color:#ccc;padding-left:15px;font-weight:bold;"><span wicket:id="displayName"></span></li>
- <li class="divider"></li>
- <li><a wicket:id="newRepository"><wicket:message key="gb.newRepository"></wicket:message></a></li>
- <li><a wicket:id="myProfile"><wicket:message key="gb.myProfile"></wicket:message></a></li>
- <li><a wicket:id="changePassword"><wicket:message key="gb.changePassword"></wicket:message></a></li>
- <li class="divider"></li>
+ <span wicket:id="standardMenu"></span>
+ <span wicket:id="adminMenu"></span>
+ <span wicket:id="extensionsMenu"></span>
<li><a wicket:id="logout"><wicket:message key="gb.logout"></wicket:message></a></li>
</ul>
</li>
</wicket:fragment>
+
+ <wicket:fragment wicket:id="submenuFragment">
+ <li style="color:#ccc;padding-left:15px;font-weight:bold;"><span wicket:id="submenuTitle"></span></li>
+ <li wicket:id="submenuItem"><span wicket:id="submenuLink"></span></li>
+ </wicket:fragment>
</wicket:extend>
</body>