diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-27 18:04:20 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-27 18:04:20 +0300 |
commit | 5aee89d08c352381a31cc67e747ab0209e35c6a1 (patch) | |
tree | 1af4648f48762d31c4da398baac379fedce75776 | |
parent | e38081e55b6ef37e0272ffeb14658757e8d6aff0 (diff) | |
download | gitlab-ce-5aee89d08c352381a31cc67e747ab0209e35c6a1.tar.gz |
Make tree readme title - a link with anchor to README section
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/views/projects/tree/_readme.html.haml | 7 |
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) |