From 9ab3882510630fb76d2373c217a9a977d70c716e Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij <sytses@gmail.com> Date: Wed, 25 Jun 2014 13:02:14 +0200 Subject: [PATCH] Put a dash before the readme link so it doesn't look like it is part of the description. --- app/views/projects/_home_panel.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 52a6d201099..2a97cb49039 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -23,6 +23,7 @@ %strong= link_to 'Edit', edit_project_path - elsif !@project.empty_repo? && @repository.readme - readme = @repository.readme + – = link_to project_blob_path(@project, tree_join(@repository.root_ref, readme.name)) do = readme.name -- 2.30.9