From 5aee89d08c352381a31cc67e747ab0209e35c6a1 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 27 Aug 2014 18:04:20 +0300 Subject: Make tree readme title - a link with anchor to README section Signed-off-by: Dmitriy Zaporozhets --- app/views/projects/tree/_readme.html.haml | 7 ++++--- 1 file 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) -- cgit v1.2.1