Commit fb00ed99 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make README link on project home look nicer

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 342078a7
...@@ -26,8 +26,9 @@ ...@@ -26,8 +26,9 @@
- if readme = @repository.readme - if readme = @repository.readme
.tab-pane#tab-readme .tab-pane#tab-readme
%article.readme-holder#README %article.readme-holder#README
= link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)) do .clearfix
%h4.readme-file-title %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 %i.fa.fa-file
= readme.name = readme.name
.wiki .wiki
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment