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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
1587d571
Commit
1587d571
authored
Jan 10, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for current user
parent
8aac39d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+2
-1
No files found.
app/views/groups/show.html.haml
View file @
1587d571
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
.cover-controls
.cover-controls
-
if
@group
&&
can?
(
current_user
,
:admin_group
,
@group
)
-
if
@group
&&
can?
(
current_user
,
:admin_group
,
@group
)
=
link_to
icon
(
'pencil'
),
edit_group_path
(
@group
),
class:
'btn'
=
link_to
icon
(
'pencil'
),
edit_group_path
(
@group
),
class:
'btn'
=
link_to
icon
(
'rss'
),
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
,
class:
'btn rss-btn'
-
if
current_user
=
link_to
icon
(
'rss'
),
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
,
class:
'btn rss-btn'
.avatar-holder
.avatar-holder
=
link_to
group_icon
(
@group
),
target:
'_blank'
do
=
link_to
group_icon
(
@group
),
target:
'_blank'
do
...
...
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