summaryrefslogtreecommitdiff
path: root/app/views/shared/empty_states/_issues.html.haml
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-12-19 20:11:43 +0600
committerNur Rony <pro.nmrony@gmail.com>2016-12-19 20:11:43 +0600
commit0aa61e8e6f7d528330a50e64bf27b2d721c4ec5a (patch)
tree695aaf0d2b87b0e647a5915066de7aa6c06cb61e /app/views/shared/empty_states/_issues.html.haml
parent16f950b4c321708c8701e031316b5ed91c50f2eb (diff)
downloadgitlab-ce-0aa61e8e6f7d528330a50e64bf27b2d721c4ec5a.tar.gz
hides new issue btn for now loggedin user
Diffstat (limited to 'app/views/shared/empty_states/_issues.html.haml')
-rw-r--r--app/views/shared/empty_states/_issues.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml
index e939278bc07..07d4927b6c9 100644
--- a/app/views/shared/empty_states/_issues.html.haml
+++ b/app/views/shared/empty_states/_issues.html.haml
@@ -8,7 +8,7 @@
= render 'shared/empty_states/icons/issues.svg'
.col-xs-12{ class: "#{'col-sm-6' if has_button}" }
.text-content
- - if has_button
+ - if has_button && current_user
%h4
The Issue Tracker is a good place to add things that need to be improved or solved in a project!
%p