From: Toshi MARUYAMA Date: Wed, 24 Aug 2011 01:31:18 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/admin/plugins.rhtml. X-Git-Tag: 1.3.0~1409 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=08391b9499c1c797941cc078a1d3f54f0853ee02;p=redmine.git rename .rhtml to .html.erb of app/views/admin/plugins.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@6552 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/admin/plugins.html.erb b/app/views/admin/plugins.html.erb new file mode 100644 index 000000000..4ee6c142c --- /dev/null +++ b/app/views/admin/plugins.html.erb @@ -0,0 +1,19 @@ +

<%= l(:label_plugins) %>

+ +<% if @plugins.any? %> + + <% @plugins.each do |plugin| %> + + + + + + + <% end %> +
<%=h plugin.name %> + <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> + <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> + <%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %><%=h plugin.version %><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %>
+<% else %> +

<%= l(:label_no_data) %>

+<% end %> diff --git a/app/views/admin/plugins.rhtml b/app/views/admin/plugins.rhtml deleted file mode 100644 index 4ee6c142c..000000000 --- a/app/views/admin/plugins.rhtml +++ /dev/null @@ -1,19 +0,0 @@ -

<%= l(:label_plugins) %>

- -<% if @plugins.any? %> - - <% @plugins.each do |plugin| %> - - - - - - - <% end %> -
<%=h plugin.name %> - <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> - <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> - <%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %><%=h plugin.version %><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %>
-<% else %> -

<%= l(:label_no_data) %>

-<% end %>