@@ -25,13 +25,14 | |||||
25 |
|
25 | |||
26 | <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2> |
|
26 | <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2> | |
27 |
|
27 | |||
|
28 | <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> | |||
28 | <table class="revision-info"> |
|
29 | <table class="revision-info"> | |
29 | <% if @changeset.scmid %> |
|
30 | <% if @changeset.scmid.present? %> | |
30 | <tr> |
|
31 | <tr> | |
31 | <td>ID</td><td><%= h(@changeset.scmid) %></td> |
|
32 | <td>ID</td><td><%= h(@changeset.scmid) %></td> | |
32 | </tr> |
|
33 | </tr> | |
33 | <% end %> |
|
34 | <% end %> | |
34 |
<% |
|
35 | <% if @changeset.parents.present? %> | |
35 | <tr> |
|
36 | <tr> | |
36 | <td><%= l(:label_parent_revision) %></td> |
|
37 | <td><%= l(:label_parent_revision) %></td> | |
37 | <td> |
|
38 | <td> | |
@@ -41,7 +42,7 | |||||
41 | </td> |
|
42 | </td> | |
42 | </tr> |
|
43 | </tr> | |
43 | <% end %> |
|
44 | <% end %> | |
44 |
<% |
|
45 | <% if @changeset.children.present? %> | |
45 | <tr> |
|
46 | <tr> | |
46 | <td><%= l(:label_child_revision) %></td> |
|
47 | <td><%= l(:label_child_revision) %></td> | |
47 | <td> |
|
48 | <td> | |
@@ -52,6 +53,8 | |||||
52 | </tr> |
|
53 | </tr> | |
53 | <% end %> |
|
54 | <% end %> | |
54 | </table> |
|
55 | </table> | |
|
56 | <% end %> | |||
|
57 | ||||
55 | <p> |
|
58 | <p> | |
56 | <span class="author"> |
|
59 | <span class="author"> | |
57 | <%= authoring(@changeset.committed_on, @changeset.author) %> |
|
60 | <%= authoring(@changeset.committed_on, @changeset.author) %> |
General Comments 0
You need to be logged in to leave comments.
Login now