summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones/show.html.haml
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-17 17:59:30 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-17 20:55:59 -0300
commit482bfd1a6d454652feb1f64c0c0e1c50ce701986 (patch)
tree25cdac5545994663d823244be207e3e232546335 /app/views/projects/milestones/show.html.haml
parent1029f4101b1de98ec7ffa706530bf405ffa71060 (diff)
downloadgitlab-ce-482bfd1a6d454652feb1f64c0c0e1c50ce701986.tar.gz
Restrict access for confidential issues on milestone view
Diffstat (limited to 'app/views/projects/milestones/show.html.haml')
-rw-r--r--app/views/projects/milestones/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index b4597043a27..be63875ab34 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -42,7 +42,7 @@
= preserve do
= markdown @milestone.description
-- if @milestone.complete? && @milestone.active?
+- if @milestone.complete?(current_user) && @milestone.active?
.alert.alert-success.prepend-top-default
%span All issues for this milestone are closed. You may close milestone now.