diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-05-18 07:10:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-05-18 07:10:14 +0000 |
commit | 45a9b9954af188df5284d18239e05b4b162b31fc (patch) | |
tree | aea04ad7f0e79581ec49edab188fe52175fd4ce0 /app/views/repositories | |
parent | 6e35d2f0e9f5573cb01f5c24169415dc2e8fa4e5 (diff) | |
download | redmine-45a9b9954af188df5284d18239e05b4b162b31fc.tar.gz redmine-45a9b9954af188df5284d18239e05b4b162b31fc.zip |
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
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/annotate.html.erb | 4 |
1 files 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] %> - <tr class="bloc-<%= revision.nil? ? 0 : colors[revision.identifier || revision.revision] %>"> - <th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th> + <tr id="L<%= line_num %>" class="bloc-<%= revision.nil? ? 0 : colors[revision.identifier || revision.revision] %>"> + <th class="line-num"><a href="#L<%= line_num %>"><%= line_num %></a></th> <td class="revision"> <%= (revision.identifier ? link_to_revision(revision, @repository) : format_revision(revision)) if revision && revision != previous_revision %></td> <td class="author"><%= h(revision.author.to_s.split('<').first) if revision && revision != previous_revision %></td> |