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 <dzaporozhets@gitlab.com>2015-03-09 19:43:36 +0300
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-09 19:43:36 +0300
commit7e574a896bc7f4c4b80794d509330c33262be9fd (patch)
tree10c8eb5e96cd39ec44a04429afcf75b685a20e1e /app/views/profiles
parent41913fcc096cfceb1b8245ffeffa471a668d1d20 (diff)
parentde11c13ac074baa2b63165a51c59f2925c0dff83 (diff)
Merge branch 'dashboard-groups' into 'master'
Move profile groups page to dashboard For #2069 See merge request !1654
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/groups/index.html.haml39
1 files changed, 0 insertions, 39 deletions
diff --git a/app/views/profiles/groups/index.html.haml b/app/views/profiles/groups/index.html.haml
deleted file mode 100644
index daf76636ff2..00000000000
--- a/app/views/profiles/groups/index.html.haml
+++ /dev/null
@@ -1,39 +0,0 @@
-%h3.page-title
- Group Membership
- - if current_user.can_create_group?
- %span.pull-right
- = link_to new_group_path, class: "btn btn-new" do
- %i.fa.fa-plus
- New Group
-%p.light
- Group members have access to all group projects.
-%hr
-.panel.panel-default
- .panel-heading
- %strong Groups
- (#{@user_groups.count})
- %ul.well-list
- - @user_groups.each do |user_group|
- - group = user_group.group
- %li
- .pull-right
- - if can?(current_user, :manage_group, group)
- = link_to edit_group_path(group), class: "btn-small btn btn-grouped" do
- %i.fa.fa-cogs
- Settings
-
- - if can?(current_user, :destroy, user_group)
- = link_to leave_profile_group_path(group), data: { confirm: leave_group_message(group.name) }, method: :delete, class: "btn-small btn btn-grouped", title: 'Remove user from group' do
- %i.fa.fa-sign-out
- Leave
-
- = link_to group, class: 'group-name' do
- %strong= group.name
-
- as
- %strong #{user_group.human_access}
-
- %div.light
- #{pluralize(group.projects.count, "project")}, #{pluralize(group.users.count, "user")}
-
-= paginate @user_groups