show public/private status of plugins

This commit is contained in:
Lee Lawlor 2014-07-14 13:03:27 -04:00
parent fe19dff3dd
commit 384cb7bda8

View File

@ -12,7 +12,10 @@
<% @plugins.each do |p| %> <% @plugins.each do |p| %>
<tr> <tr>
<td><%= p.name %></td> <td>
<i class="fa fa-<%= 'un' if p.private_flag != true %>lock fa-fw"></i>
<%= p.name %>
</td>
<td> <td>
<%= link_to t(:view).downcase, plugin_path(p.id), :target => '_blank' %> <%= link_to t(:view).downcase, plugin_path(p.id), :target => '_blank' %>
&nbsp; &nbsp;