summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_readme.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-27 18:04:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-27 18:04:20 +0300
commit5aee89d08c352381a31cc67e747ab0209e35c6a1 (patch)
tree1af4648f48762d31c4da398baac379fedce75776 /app/views/projects/tree/_readme.html.haml
parente38081e55b6ef37e0272ffeb14658757e8d6aff0 (diff)
downloadgitlab-ce-5aee89d08c352381a31cc67e747ab0209e35c6a1.tar.gz
Make tree readme title - a link with anchor to README section
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/tree/_readme.html.haml')
-rw-r--r--app/views/projects/tree/_readme.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml
index 9d0292059d6..ec2701af0eb 100644
--- a/app/views/projects/tree/_readme.html.haml
+++ b/app/views/projects/tree/_readme.html.haml
@@ -1,6 +1,7 @@
%article.readme-holder#README
- %h4.readme-file-title
- %i.icon-file
- = readme.name
+ = link_to '#README' do
+ %h4.readme-file-title
+ %i.icon-file
+ = readme.name
.wiki
= render_readme(readme)