Commit 8589f0f4 authored by Stephen Lottermoser's avatar Stephen Lottermoser

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.
parent a7ba81ea
...@@ -9,7 +9,10 @@ ...@@ -9,7 +9,10 @@
%li.clearfix %li.clearfix
%h5 %h5
%i.icon-share %i.icon-share
- if current_user
= link_to_project project = link_to_project project
- else
= project.name_with_namespace
.pull-right .pull-right
%pre.dark.tiny git clone #{project.http_url_to_repo} %pre.dark.tiny git clone #{project.http_url_to_repo}
%p.description %p.description
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment