diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-16 16:14:19 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-16 16:14:19 +0100 |
commit | 929ab909c88e9ac5d87acacb376a39dcfa6a639c (patch) | |
tree | 20774e1c2ad483195c116bb1a7c8414c4ab8792f /app/views/groups/milestones/show.html.haml | |
parent | 78d542fcd811b6e18209fb97f126fd6291bd411b (diff) | |
download | gitlab-ce-929ab909c88e9ac5d87acacb376a39dcfa6a639c.tar.gz |
Group masters should be able to create/close milestones
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups/milestones/show.html.haml')
-rw-r--r-- | app/views/groups/milestones/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/milestones/show.html.haml b/app/views/groups/milestones/show.html.haml index e609abca08e..716e93f558b 100644 --- a/app/views/groups/milestones/show.html.haml +++ b/app/views/groups/milestones/show.html.haml @@ -9,7 +9,7 @@ Open Milestone #{@milestone.title} .pull-right - - if can?(current_user, :admin_group, @group) + - if can?(current_user, :admin_milestones, @group) - if @milestone.active? = link_to 'Close Milestone', group_milestone_path(@group, @milestone.safe_title, title: @milestone.title, milestone: {state_event: :close }), method: :put, class: "btn btn-sm btn-close" - else |