diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-01 19:04:11 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-01 19:04:11 +0200 |
commit | e6002bdaffc819ea3b743955315cf50eb804dbdb (patch) | |
tree | aa96a40822436bd9a33b88e8741376164320a8a7 /app/views/layouts/group.html.haml | |
parent | 591e094e0636c084f218d52f25c01d51f7d3ecf5 (diff) | |
download | gitlab-ce-e6002bdaffc819ea3b743955315cf50eb804dbdb.tar.gz |
Ability to manage and remove group as owner outside of admin area
Diffstat (limited to 'app/views/layouts/group.html.haml')
-rw-r--r-- | app/views/layouts/group.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/layouts/group.html.haml b/app/views/layouts/group.html.haml index 4395e408649..9057ad50ce6 100644 --- a/app/views/layouts/group.html.haml +++ b/app/views/layouts/group.html.haml @@ -22,4 +22,10 @@ = nav_link(path: 'groups#people') do = link_to "People", people_group_path(@group) + - if can?(current_user, :manage_group, @group) + = nav_link(path: 'groups#edit') do + = link_to edit_group_path(@group), class: "tab " do + %i.icon-edit + Edit Group + .content= yield |