From 45a9b9954af188df5284d18239e05b4b162b31fc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 18 May 2013 07:10:14 +0000 Subject: [PATCH] Highlighting of source link target line for annotate view (#13746). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11858 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/annotate.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/repositories/annotate.html.erb b/app/views/repositories/annotate.html.erb index 1c4df65c4..ab9628e69 100644 --- a/app/views/repositories/annotate.html.erb +++ b/app/views/repositories/annotate.html.erb @@ -16,8 +16,8 @@ <% line_num = 1; previous_revision = nil %> <% syntax_highlight_lines(@path, Redmine::CodesetUtil.to_utf8_by_setting(@annotate.content)).each do |line| %> <% revision = @annotate.revisions[line_num - 1] %> - - <%= line_num %> + + <%= line_num %> <%= (revision.identifier ? link_to_revision(revision, @repository) : format_revision(revision)) if revision && revision != previous_revision %> <%= h(revision.author.to_s.split('<').first) if revision && revision != previous_revision %>