summaryrefslogtreecommitdiff
path: root/app/views/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-13 16:26:40 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-13 16:26:40 +0100
commit0673fad893e2cd457424bc730b1faa146e1f6f5f (patch)
treee123ade0bced3f9c5d07d6281c165ab09c1c119b /app/views/groups
parentc44b927bc00ed75b41f3951a15794c5cc6bdc60e (diff)
downloadgitlab-ce-0673fad893e2cd457424bc730b1faa146e1f6f5f.tar.gz
Apply new layout to user page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/show.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml
index 4da70358766..5e39d3ab601 100644
--- a/app/views/groups/show.html.haml
+++ b/app/views/groups/show.html.haml
@@ -1,3 +1,6 @@
+- @no_container = true
+- @blank_container = true
+
- unless can?(current_user, :read_group, @group)
- @disable_search_panel = true
@@ -5,9 +8,6 @@
- if current_user
= auto_discovery_link_tag(:atom, group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} activity")
-- @no_container = true
-- @blank_container = true
-
.cover-block
.cover-controls
- if @group && can?(current_user, :admin_group, @group)
@@ -39,7 +39,6 @@
Projects
- if can?(current_user, :read_group, @group)
-
%div{ class: container_class }
.tab-content
.tab-pane.active#activity