Mercurial > hg > soundsoftware-site
annotate .svn/pristine/17/17973741c668d43d267b734fcb018ab64a0d87f9.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <h2><%= l(:label_plugins) %></h2> |
Chris@909 | 2 |
Chris@909 | 3 <% if @plugins.any? %> |
Chris@909 | 4 <table class="list plugins"> |
Chris@909 | 5 <% @plugins.each do |plugin| %> |
Chris@909 | 6 <tr class="<%= cycle('odd', 'even') %>"> |
Chris@909 | 7 <td><span class="name"><%=h plugin.name %></span> |
Chris@909 | 8 <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> |
Chris@909 | 9 <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> |
Chris@909 | 10 </td> |
Chris@909 | 11 <td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td> |
Chris@909 | 12 <td class="version"><%=h plugin.version %></td> |
Chris@909 | 13 <td class="configure"><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %></td> |
Chris@909 | 14 </tr> |
Chris@909 | 15 <% end %> |
Chris@909 | 16 </table> |
Chris@909 | 17 <% else %> |
Chris@909 | 18 <p class="nodata"><%= l(:label_no_data) %></p> |
Chris@909 | 19 <% end %> |