From: Jean-Philippe Lang Date: Sat, 18 May 2013 07:10:14 +0000 (+0000) Subject: Highlighting of source link target line for annotate view (#13746). X-Git-Tag: 2.4.0~345 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=45a9b9954af188df5284d18239e05b4b162b31fc;p=redmine.git 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 --- 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 %>