Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
1d217381
Commit
1d217381
authored
Sep 14, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show activity/projects depends on access
parent
4e1c6019
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+18
-14
No files found.
app/views/groups/show.html.haml
View file @
1d217381
...
@@ -16,22 +16,26 @@
...
@@ -16,22 +16,26 @@
=
render
'shared/show_aside'
=
render
'shared/show_aside'
.row
-
if
can?
(
current_user
,
:read_group
,
@group
)
%section
.activities.col-md-7
.row
.hidden-xs
%section
.activities.col-md-7
-
if
current_user
.hidden-xs
=
render
"events/event_last_push"
,
event:
@last_push
-
if
current_user
=
render
"events/event_last_push"
,
event:
@last_push
%ul
.nav.nav-pills.event_filter.pull-right
%ul
.nav.nav-pills.event_filter.pull-right
%li
%li
=
link_to
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
,
class:
'rss-btn'
do
=
link_to
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
,
class:
'rss-btn'
do
%i
.fa.fa-rss
%i
.fa.fa-rss
=
render
'shared/event_filter'
=
render
'shared/event_filter'
%hr
%hr
.content_list
.content_list
=
spinner
=
spinner
-
if
@projects
.
any?
%aside
.side.col-md-5
%aside
.side.col-md-5
=
render
"projects"
,
projects:
@projects
=
render
"projects"
,
projects:
@projects
-
else
%p
=
icon
(
'lock'
)
This is a private group
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment