summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-12-12 13:02:08 +0600
committerNur Rony <pro.nmrony@gmail.com>2016-12-12 13:02:08 +0600
commitc877b152d1354946d0a1299e672c1be0aaafdfdf (patch)
tree3fa5160708c5bc4c19c69b3201f8a1f38e07dfe7
parent0bde5c946ab31f822e1146b0e242fdbd1553733e (diff)
downloadgitlab-ce-25106-hide-issue-mr-button-for-not-loggedin.tar.gz
-rw-r--r--app/views/groups/issues.html.haml9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index 872d70d17d9..b4aa4f24d9e 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -8,11 +8,10 @@
= render 'shared/issuable/nav', type: :issues
- if current_user
.nav-controls
- - if current_user
- = link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do
- = icon('rss')
- %span.icon-label
- Subscribe
+ = link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do
+ = icon('rss')
+ %span.icon-label
+ Subscribe
= render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
= render 'shared/issuable/filter', type: :issues