summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytses@gmail.com>2014-06-24 08:43:55 +0200
committerSytse Sijbrandij <sytses@gmail.com>2014-06-24 08:43:55 +0200
commit7ed11fded5862bd7c03448e48ba17efdabdbc218 (patch)
treef8df840ec2e71d375ee296acdf7a7af05d885df2
parent882c7b50b81644be8e8e4be5bcf4b5432d9abb14 (diff)
downloadgitlab-ce-link-to-readme-from-description.tar.gz
Remove button code from readme link.link-to-readme-from-description
-rw-r--r--app/views/projects/_home_panel.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 0f733dadb2e..273a8493f44 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -23,7 +23,7 @@
%strong= link_to 'Edit', edit_project_path
- elsif @repository.readme
- readme = @repository.readme
- = link_to project_blob_path(@project, tree_join(@repository.root_ref, readme.name)), class: 'btn btn-block' do
+ = link_to project_blob_path(@project, tree_join(@repository.root_ref, readme.name)) do
= readme.name
- unless empty_repo