diff --git a/app/views/public/projects/index.html.haml b/app/views/public/projects/index.html.haml index e66851e..c31fcfd 100644 --- a/app/views/public/projects/index.html.haml +++ b/app/views/public/projects/index.html.haml @@ -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 -- libgit2 0.21.2