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