Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Staff
Public Gitlab
Commits
891f2d20
Commit
891f2d20
authored
11 years ago
by
GitLab
Browse files
Options
Download
Email Patches
Plain Diff
Fixed 500 error on public projects page
parent
fe4b3c42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/views/dashboard/projects.html.haml
app/views/dashboard/projects.html.haml
+6
-5
No files found.
app/views/dashboard/projects.html.haml
View file @
891f2d20
...
...
@@ -72,11 +72,12 @@
=
public_icon
Public
-
if
current_user
.
can_leave_project?
(
project
)
.pull-right
=
link_to
leave_project_team_members_path
(
project
),
confirm:
"Leave project?"
,
method: :delete
,
remote:
true
,
class:
"btn-tiny btn remove-row"
,
title:
'Leave project'
do
%i
.icon-signout
Leave
-
if
current_user
-
if
current_user
.
can_leave_project?
(
project
)
.pull-right
=
link_to
leave_project_team_members_path
(
project
),
confirm:
"Leave project?"
,
method: :delete
,
remote:
true
,
class:
"btn-tiny btn remove-row"
,
title:
'Leave project'
do
%i
.icon-signout
Leave
-
if
project
.
forked_from_project
%small
.pull-right
...
...
This diff is collapsed.
Click to expand it.
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