Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 21:04:11 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 21:04:11 +0400
commite6002bdaffc819ea3b743955315cf50eb804dbdb (patch)
treeaa96a40822436bd9a33b88e8741376164320a8a7 /app/views/layouts/group.html.haml
parent591e094e0636c084f218d52f25c01d51f7d3ecf5 (diff)
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.haml6
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