From: Toshi MARUYAMA Date: Sat, 21 May 2011 00:59:40 +0000 (+0000) Subject: scm: code clean up app/views/repositories/revisions.rhtml. X-Git-Tag: 1.2.0~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f36d8cacba07ec1af823cdc9af729da28b7a1a6f;p=redmine.git scm: code clean up app/views/repositories/revisions.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5860 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml index 255cb6221..95af1cd5d 100644 --- a/app/views/repositories/revisions.rhtml +++ b/app/views/repositories/revisions.rhtml @@ -1,19 +1,26 @@
<% form_tag({:action => 'revision', :id => @project}) do %> -<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %> -<%= submit_tag 'OK' %> +<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %> +<%= submit_tag 'OK' %> <% end %>

<%= l(:label_revision_plural) %>

-<%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%> +<%= render :partial => 'revisions', + :locals => {:project => @project, + :path => '', + :revisions => @changesets, + :entry => nil } %>

<%= pagination_links_full @changeset_pages,@changeset_count %>

<% content_for :header_tags do %> -<%= stylesheet_link_tag "scm" %> -<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> +<%= stylesheet_link_tag "scm" %> +<%= auto_discovery_link_tag( + :atom, + params.merge( + {:format => 'atom', :page => nil, :key => User.current.rss_key})) %> <% end %> <% other_formats_links do |f| %>