Project

General

Profile

« Previous | Next » 

Revision 1522

Removed inconsistent revision numbers on diff view.

View differences:

trunk/app/views/common/_diff.rhtml
4 4
<table class="filecontent CodeRay">
5 5
<thead>
6 6
<tr><th colspan="4" class="filename"><%= table_file.file_name %></th></tr>
7
<% unless @rev.nil? -%>
8
<tr>
9
  <th colspan="2">@<%= format_revision @rev %></th>
10
  <th colspan="2">@<%= format_revision @rev_to %></th>
11
</tr>
12
<% end -%>
13 7
</thead>
14 8
<tbody>
15 9
<% prev_line_left, prev_line_right = nil, nil -%>
......
36 30
<table class="filecontent CodeRay">
37 31
<thead>
38 32
<tr><th colspan="3" class="filename"><%= table_file.file_name %></th></tr>
39
<% unless @rev.nil? -%>
40
<tr>
41
  <th>@<%= format_revision @rev %></th>
42
  <th>@<%= format_revision @rev_to %></th>
43
  <th></th>
44
</tr>
45
<% end -%>
46 33
</thead>
47 34
<tbody>
48 35
<% prev_line_left, prev_line_right = nil, nil -%>

Also available in: Unified diff