summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-29 11:43:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-29 11:43:28 +0000
commit24d9570944016c27686fb439fc61ba462bb23221 (patch)
tree63cd8053c77d38fe953a5118ed1a80565c7e22b9 /app/views/repositories
parentde367ca1ec854ad6bce1a7e8dd04e2366aea08db (diff)
downloadredmine-24d9570944016c27686fb439fc61ba462bb23221.tar.gz
redmine-24d9570944016c27686fb439fc61ba462bb23221.zip
Use fancy colors as right border instead of background.
git-svn-id: http://svn.redmine.org/redmine/trunk@16910 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/annotate.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/annotate.html.erb b/app/views/repositories/annotate.html.erb
index 79a548f7e..038f01eca 100644
--- a/app/views/repositories/annotate.html.erb
+++ b/app/views/repositories/annotate.html.erb
@@ -16,7 +16,7 @@
<% 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 id="L<%= line_num %>" class="bloc-<%= revision.nil? ? 0 : colors[revision.identifier || revision.revision] %>">
+ <tr id="L<%= line_num %>" class="bloc-<%= revision.nil? ? 0 : colors[revision.identifier || revision.revision] %> <%= previous_revision && revision && revision != previous_revision ? 'bloc-change' : nil%>">
<th class="line-num"><a href="#L<%= line_num %>"><%= line_num %></a></th>
<td class="revision">
<% if revision && revision != previous_revision %>