summaryrefslogtreecommitdiff
path: root/app/views/layouts/project_resource.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/project_resource.html.haml')
-rw-r--r--app/views/layouts/project_resource.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/project_resource.html.haml b/app/views/layouts/project_resource.html.haml
index c19d33ceec9..09ccb1d7b6a 100644
--- a/app/views/layouts/project_resource.html.haml
+++ b/app/views/layouts/project_resource.html.haml
@@ -12,7 +12,8 @@
.container
%ul.main_menu
= nav_link(html_options: {class: "home #{project_tab_class}"}) do
- = link_to @project.path, project_path(@project), title: "Project"
+ = link_to project_path(@project), title: "Project" do
+ %i.icon-home
- if @project.repo_exists?
- if can? current_user, :download_code, @project