summaryrefslogtreecommitdiff
path: root/app/views/groups/issues.html.haml
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-12-02 21:46:50 +0600
committerNur Rony <pro.nmrony@gmail.com>2016-12-12 12:50:19 +0600
commit8d5f7e26cd63e60fbcd1cbe6f5e6b77f90119481 (patch)
tree4fc028c20bdfa09723d2891d4df58d6e12325f5b /app/views/groups/issues.html.haml
parent1879613a997ae587d3c478b97c925631727a6222 (diff)
downloadgitlab-ce-8d5f7e26cd63e60fbcd1cbe6f5e6b77f90119481.tar.gz
adds check for logged in user in group issues
Diffstat (limited to 'app/views/groups/issues.html.haml')
-rw-r--r--app/views/groups/issues.html.haml15
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index 324a116a50e..872d70d17d9 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -6,13 +6,14 @@
- if group_issues(@group).exists?
.top-area
= render 'shared/issuable/nav', type: :issues
- .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
- = render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
+ - 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
+ = render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
= render 'shared/issuable/filter', type: :issues