<% 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 %>
img.filecontent { max-width: 100%; }
/* 12 different colors for the annonate view */
-table.annotate tr.bloc-0 {background: #FFFFBF;}
-table.annotate tr.bloc-1 {background: #EABFFF;}
-table.annotate tr.bloc-2 {background: #BFFFFF;}
-table.annotate tr.bloc-3 {background: #FFD9BF;}
-table.annotate tr.bloc-4 {background: #E6FFBF;}
-table.annotate tr.bloc-5 {background: #BFCFFF;}
-table.annotate tr.bloc-6 {background: #FFBFEF;}
-table.annotate tr.bloc-7 {background: #FFE6BF;}
-table.annotate tr.bloc-8 {background: #FFE680;}
-table.annotate tr.bloc-9 {background: #AA80FF;}
-table.annotate tr.bloc-10 {background: #FFBFDC;}
-table.annotate tr.bloc-11 {background: #BFE4FF;}
+table.annotate tr.bloc-0 td.author {border-right-color: #FFFFBF;}
+table.annotate tr.bloc-1 td.author {border-right-color: #EABFFF;}
+table.annotate tr.bloc-2 td.author {border-right-color: #BFFFFF;}
+table.annotate tr.bloc-3 td.author {border-right-color: #FFD9BF;}
+table.annotate tr.bloc-4 td.author {border-right-color: #E6FFBF;}
+table.annotate tr.bloc-5 td.author {border-right-color: #BFCFFF;}
+table.annotate tr.bloc-6 td.author {border-right-color: #FFBFEF;}
+table.annotate tr.bloc-7 td.author {border-right-color: #FFE6BF;}
+table.annotate tr.bloc-8 td.author {border-right-color: #FFE680;}
+table.annotate tr.bloc-9 td.author {border-right-color: #AA80FF;}
+table.annotate tr.bloc-10 td.author {border-right-color: #FFBFDC;}
+table.annotate tr.bloc-11 td.author {border-right-color: #BFE4FF;}
+table.annotate tr.bloc-change {border-top:1px solid #e5e5e5;}
table.annotate td.revision {
padding:0;
table.annotate td.author {
padding:0;
text-align: center;
- border-right: 1px solid #d7d7d7;
+ border-right: 6px solid #d7d7d7;
white-space: nowrap;
padding-left: 1em;
padding-right: 1em;