Non-logged in users see public project names as static text
In the public area, project names are shown as static text for non-logged in users, while logged-in users are given project names as links they can follow to the project's page.
This commit is contained in:
parent
a7ba81ea5d
commit
8589f0f400
|
@ -9,7 +9,10 @@
|
|||
%li.clearfix
|
||||
%h5
|
||||
%i.icon-share
|
||||
= link_to_project project
|
||||
- if current_user
|
||||
= link_to_project project
|
||||
- else
|
||||
= project.name_with_namespace
|
||||
.pull-right
|
||||
%pre.dark.tiny git clone #{project.http_url_to_repo}
|
||||
%p.description
|
||||
|
|
Loading…
Reference in New Issue