Skip to content

Commit 039c333

Browse files
committed
adjust source indents (#20298)
git-svn-id: http://svn.redmine.org/redmine/trunk@14483 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent df383bf commit 039c333

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

app/views/repositories/revision.html.erb

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,41 @@
2929
<h2><%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
3030

3131
<div class="details">
32-
<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
33-
<table class="revision-info">
34-
<% if @changeset.scmid.present? %>
35-
<tr>
36-
<td>ID</td><td><%= @changeset.scmid %></td>
37-
</tr>
32+
<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
33+
<table class="revision-info">
34+
<% if @changeset.scmid.present? %>
35+
<tr>
36+
<td>ID</td><td><%= @changeset.scmid %></td>
37+
</tr>
38+
<% end %>
39+
<% if @changeset.parents.present? %>
40+
<tr>
41+
<td><%= l(:label_parent_revision) %></td>
42+
<td>
43+
<%= @changeset.parents.collect{
44+
|p| link_to_revision(p, @repository, :text => format_revision(p))
45+
}.join(", ").html_safe %>
46+
</td>
47+
</tr>
48+
<% end %>
49+
<% if @changeset.children.present? %>
50+
<tr>
51+
<td><%= l(:label_child_revision) %></td>
52+
<td>
53+
<%= @changeset.children.collect{
54+
|p| link_to_revision(p, @repository, :text => format_revision(p))
55+
}.join(", ").html_safe %>
56+
</td>
57+
</tr>
58+
<% end %>
59+
</table>
3860
<% end %>
39-
<% if @changeset.parents.present? %>
40-
<tr>
41-
<td><%= l(:label_parent_revision) %></td>
42-
<td>
43-
<%= @changeset.parents.collect{
44-
|p| link_to_revision(p, @repository, :text => format_revision(p))
45-
}.join(", ").html_safe %>
46-
</td>
47-
</tr>
48-
<% end %>
49-
<% if @changeset.children.present? %>
50-
<tr>
51-
<td><%= l(:label_child_revision) %></td>
52-
<td>
53-
<%= @changeset.children.collect{
54-
|p| link_to_revision(p, @repository, :text => format_revision(p))
55-
}.join(", ").html_safe %>
56-
</td>
57-
</tr>
58-
<% end %>
59-
</table>
60-
<% end %>
6161

62-
<p>
63-
<span class="author">
64-
<%= authoring(@changeset.committed_on, @changeset.author) %>
65-
</span>
66-
</p>
62+
<p>
63+
<span class="author">
64+
<%= authoring(@changeset.committed_on, @changeset.author) %>
65+
</span>
66+
</p>
6767
</div>
6868

6969
<%= textilizable @changeset.comments %>

0 commit comments

Comments
 (0)