diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-24 01:31:18 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-24 01:31:18 +0000 |
commit | 08391b9499c1c797941cc078a1d3f54f0853ee02 (patch) | |
tree | 8cd52206506311c6408e398ffea041812ea1d762 /app/views/admin/plugins.html.erb | |
parent | 0da83862b1421febcd9e05b6287d8ab94e5834c6 (diff) | |
download | redmine-08391b9499c1c797941cc078a1d3f54f0853ee02.tar.gz redmine-08391b9499c1c797941cc078a1d3f54f0853ee02.zip |
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
Diffstat (limited to 'app/views/admin/plugins.html.erb')
-rw-r--r-- | app/views/admin/plugins.html.erb | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ +<h2><%= l(:label_plugins) %></h2> + +<% if @plugins.any? %> +<table class="list plugins"> + <% @plugins.each do |plugin| %> + <tr class="<%= cycle('odd', 'even') %>"> + <td><span class="name"><%=h plugin.name %></span> + <%= 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? %> + </td> + <td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td> + <td class="version"><%=h plugin.version %></td> + <td class="configure"><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %></td> + </tr> + <% end %> +</table> +<% else %> +<p class="nodata"><%= l(:label_no_data) %></p> +<% end %> |