diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-07 03:08:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-07 03:08:25 +0300 |
commit | 3e31cffa203fd718381421e8035f7161a9f0338e (patch) | |
tree | 5d37928bebf08ddc931efe04a85d66217c8a0cea /app/views/projects/milestones | |
parent | 1c25ac983cd1e4335faa1ec4922c314d6321e224 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml index 5f244d3a6c3..b83204c27e3 100644 --- a/app/views/projects/milestones/show.html.haml +++ b/app/views/projects/milestones/show.html.haml @@ -8,10 +8,10 @@ = render_if_exists 'shared/milestones/burndown', milestone: @milestone, project: @project -- if can?(current_user, :read_issue, @project) && @milestone.total_issues_count(current_user).zero? +- if can?(current_user, :read_issue, @project) && @milestone.total_issues_count.zero? .alert.alert-success.prepend-top-default %span= _('Assign some issues to this milestone.') -- elsif @milestone.complete?(current_user) && @milestone.active? +- elsif @milestone.complete? && @milestone.active? .alert.alert-success.prepend-top-default %span= _('All issues for this milestone are closed. You may close this milestone now.') |