% if @warning_message.blank? %>
Name |
Version |
|
<% plugins.each do |name, version| %>
<%= name %> |
<%= version %> |
<%= link_to ''.html_safe, plugin_install_path(:plugin_key => name), :method => :post, :title => 'Install' %> |
<% end %>
<% else %>
<%= @warning_message.html_safe %>
<% end %>
<%= javascript_tag do %>
$(document).ready(function() {
$('#plugins-table').dataTable({
"dom": "t",
"paging": false,
"ordering": false
});
});
<% end %>