From: Toshi MARUYAMA Date: Tue, 23 Aug 2011 08:37:07 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/repositories/revisions.rhtml. X-Git-Tag: 1.3.0~1428 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8558d08e270fa4858c70d99943e230554fdd068;p=redmine.git rename .rhtml to .html.erb of app/views/repositories/revisions.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6533 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/revisions.html.erb b/app/views/repositories/revisions.html.erb new file mode 100644 index 000000000..95af1cd5d --- /dev/null +++ b/app/views/repositories/revisions.html.erb @@ -0,0 +1,30 @@ +
+<% form_tag({:action => 'revision', :id => @project}) do %> +<%= 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 } %> + +

<%= 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})) %> +<% end %> + +<% other_formats_links do |f| %> + <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> +<% end %> + +<% html_title(l(:label_revision_plural)) -%> diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml deleted file mode 100644 index 95af1cd5d..000000000 --- a/app/views/repositories/revisions.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -
-<% form_tag({:action => 'revision', :id => @project}) do %> -<%= 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 } %> - -

<%= 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})) %> -<% end %> - -<% other_formats_links do |f| %> - <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> -<% end %> - -<% html_title(l(:label_revision_plural)) -%>