Commit aadae467b421ba028bf9752d61d6dec6ec05d987
1 parent
48a63aee
Exists in
master
and in
1 other branch
Add dynamic menu definition
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
1 changed file
with
15 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,15 @@ |
1 | +{% load i18n %} | |
2 | +<li class="dropdown"> | |
3 | + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Repository" %} <b class="caret"></b></a> | |
4 | + <ul class="dropdown-menu"> | |
5 | + <li><a href="/gitlab/public/projects">{% trans "Public Projects" %}</a></li> | |
6 | + {% if user.is_active %} | |
7 | + <li><a href="/gitlab/profile">{% trans "Profile" %}</a></li> | |
8 | + <li><a href="/gitlab/projects/new">{% trans "New Project" %}</a></li> | |
9 | + <li><a href="/gitlab/dashboard/projects">{% trans "Projects" %}</a></li> | |
10 | + <li><a href="/gitlab/profile/groups">{% trans "Groups" %}</a></li> | |
11 | + <li><a href="/gitlab/dashboard/issues">{% trans "Issues" %}</a></li> | |
12 | + <li><a href="/gitlab/dashboard/merge_requests">{% trans "Merge Requests" %}</a></li> | |
13 | + {% endif %} | |
14 | + </ul> | |
15 | +</li> | |
0 | 16 | \ No newline at end of file | ... | ... |