Commit 04363df88b386b0ef0048199f1b250e686cc031a
Committed by
Sergio Oliveira
1 parent
9c00ca85
Exists in
master
and in
39 other branches
Readded Gitlab links
Conflicts: src/templates/base.html
Showing
1 changed file
with
15 additions
and
1 deletions
Show diff stats
src/templates/base.html
... | ... | @@ -74,7 +74,21 @@ |
74 | 74 | <li> |
75 | 75 | <a href="{% url "feedzilla_index" %}">{% trans "Blogs" %}</a> |
76 | 76 | </li> |
77 | - | |
77 | + {% if proxy.gitlab %} | |
78 | + <li class="dropdown"> | |
79 | + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Repository" %} <b class="caret"></b></a> | |
80 | + <ul class="dropdown-menu"> | |
81 | + <li><a href="/gitlab/public/projects">{% trans "Public Projects" %}</a></li> | |
82 | + {% if user.is_active %} | |
83 | + <li><a href="/gitlab/profile">{% trans "Profile" %}</a></li> | |
84 | + <li><a href="/gitlab/projects/new">{% trans "New Project" %}</a></li> | |
85 | + <li><a href="/gitlab/dashboard/projects">{% trans "Projects" %}</a></li> | |
86 | + <li><a href="/gitlab/dashboard/issues">{% trans "Issues" %}</a></li> | |
87 | + <li><a href="/gitlab/dashboard/merge_requests">{% trans "Merge Requests" %}</a></li> | |
88 | + {% endif %} | |
89 | + </ul> | |
90 | + </li> | |
91 | + {% endif %} | |
78 | 92 | {% if proxy.trac %} |
79 | 93 | <li class="dropdown"> |
80 | 94 | <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Contribute" %} <b class="caret"></b></a> | ... | ... |