diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-08-12 12:11:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-08-12 12:11:12 +0000 |
commit | 039c333cec7588ec186b8b15ad570d4c62ce3d95 (patch) | |
tree | 1790c45636da6f2ff97a12d248050ed6d286e5d3 /app | |
parent | df383bf6c518454d19a35aaf47d899adfdd44b45 (diff) | |
download | redmine-039c333cec7588ec186b8b15ad570d4c62ce3d95.tar.gz redmine-039c333cec7588ec186b8b15ad570d4c62ce3d95.zip |
adjust source indents (#20298)
git-svn-id: http://svn.redmine.org/redmine/trunk@14483 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/repositories/revision.html.erb | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb index c0e9ac130..91c7d3b93 100644 --- a/app/views/repositories/revision.html.erb +++ b/app/views/repositories/revision.html.erb @@ -29,41 +29,41 @@ <h2><%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2> <div class="details"> -<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> -<table class="revision-info"> - <% if @changeset.scmid.present? %> - <tr> - <td>ID</td><td><%= @changeset.scmid %></td> - </tr> + <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> + <table class="revision-info"> + <% if @changeset.scmid.present? %> + <tr> + <td>ID</td><td><%= @changeset.scmid %></td> + </tr> + <% end %> + <% if @changeset.parents.present? %> + <tr> + <td><%= l(:label_parent_revision) %></td> + <td> + <%= @changeset.parents.collect{ + |p| link_to_revision(p, @repository, :text => format_revision(p)) + }.join(", ").html_safe %> + </td> + </tr> + <% end %> + <% if @changeset.children.present? %> + <tr> + <td><%= l(:label_child_revision) %></td> + <td> + <%= @changeset.children.collect{ + |p| link_to_revision(p, @repository, :text => format_revision(p)) + }.join(", ").html_safe %> + </td> + </tr> + <% end %> + </table> <% end %> - <% if @changeset.parents.present? %> - <tr> - <td><%= l(:label_parent_revision) %></td> - <td> - <%= @changeset.parents.collect{ - |p| link_to_revision(p, @repository, :text => format_revision(p)) - }.join(", ").html_safe %> - </td> - </tr> - <% end %> - <% if @changeset.children.present? %> - <tr> - <td><%= l(:label_child_revision) %></td> - <td> - <%= @changeset.children.collect{ - |p| link_to_revision(p, @repository, :text => format_revision(p)) - }.join(", ").html_safe %> - </td> - </tr> - <% end %> -</table> -<% end %> -<p> -<span class="author"> -<%= authoring(@changeset.committed_on, @changeset.author) %> -</span> -</p> + <p> + <span class="author"> + <%= authoring(@changeset.committed_on, @changeset.author) %> + </span> + </p> </div> <%= textilizable @changeset.comments %> |