<ul class="dropdown-menu">\r
<li style="color:#ccc;padding-left:15px;font-weight:bold;"><span wicket:id="displayName"></span></li>\r
<li class="divider"></li>\r
+ <li><a wicket:id="newRepository"><wicket:message key="gb.newRepository"></wicket:message></a></li>\r
<li><a wicket:id="myProfile"><wicket:message key="gb.myProfile"></wicket:message></a></li>\r
<li><a wicket:id="changePassword"><wicket:message key="gb.changePassword"></wicket:message></a></li>\r
<li class="divider"></li>\r
}\r
\r
add(new Label("displayName", user.getDisplayName()));\r
- \r
+\r
+ add(new BookmarkablePageLink<Void>("newRepository",\r
+ EditRepositoryPage.class).setVisible(user.canAdmin() || user.canCreate()));\r
+\r
add(new BookmarkablePageLink<Void>("myProfile", \r
UserPage.class, WicketUtils.newUsernameParameter(user.username)));\r
\r