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,9 +26,10 @@ ...@@ -26,9 +26,10 @@
- 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
%i.fa.fa-file = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)), class: 'light' do
= readme.name %i.fa.fa-file
= readme.name
.wiki .wiki
= render_readme(readme) = render_readme(readme)
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