summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-06 16:52:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-06 16:52:04 +0300
commitfb00ed9983dd515142352f06a1d9a0dd4751d167 (patch)
treed82ff67997ae17d653abbd1d27ea724653d6a02a
parent342078a76dd7af51ecdf7f3b2e14527f76d9d167 (diff)
downloadgitlab-ce-fb00ed9983dd515142352f06a1d9a0dd4751d167.tar.gz
Make README link on project home look nicer
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/_section.html.haml9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/projects/_section.html.haml b/app/views/projects/_section.html.haml
index e6b04c5a34d..0b7f4cb780a 100644
--- a/app/views/projects/_section.html.haml
+++ b/app/views/projects/_section.html.haml
@@ -26,9 +26,10 @@
- if readme = @repository.readme
.tab-pane#tab-readme
%article.readme-holder#README
- = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)) do
- %h4.readme-file-title
- %i.fa.fa-file
- = readme.name
+ .clearfix
+ %small.pull-right
+ = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)), class: 'light' do
+ %i.fa.fa-file
+ = readme.name
.wiki
= render_readme(readme)