Sha256: 8ffc1ecfa65a79170429fd05ac39721f30a235072341ff9c4667d99c8f4d0373

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

<table id="plugins-table" class="table table-condensed table-striped mobile-data">
  <thead>
  <tr>
    <th>Name</th>
    <th>Type</th>
    <th>Versions</th>
    <th>Required configuration</th>
    <th></th>
  </tr>
  </thead>
  <tbody>
  <% plugins.each do |name, details| %>
      <tr>
        <td><%= name %></td>
        <td><%= details['type'] %></td>
        <td>
          <% unless details['versions'].nil? %>
              <ul>
                <% details['versions'].each do |kb_version, plugin_version| %>
                    <li><%= kb_version %>: <%= plugin_version %></li>
                <% end %>
              </ul>
          <% end %>
        </td>
        <td>
          <% unless (details['require'] || []).empty? %>
              <ul>
                <% details['require'].each do |property| %>
                    <li><%= property %></li>
                <% end %>
              </ul>
          <% end %>
        </td>
        <td><%= link_to '<i class="fa fa-cloud-download"></i>'.html_safe, plugin_install_path(:plugin_key => name), :method => :post, :title => 'Install' %></td>
      </tr>
  <% end %>
  </tbody>
</table>

<%= javascript_tag do %>
  $(document).ready(function() {
    $('#plugins-table').dataTable({
      "dom": "t",
      "paging": false,
      "ordering": false
    });
  });
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
killbill-kpm-ui-1.0.1 app/views/kpm/plugins/_plugins_table.html.erb
killbill-kpm-ui-1.0.0 app/views/kpm/plugins/_plugins_table.html.erb
killbill-kpm-0.3.0 app/views/kpm/plugins/_plugins_table.html.erb
killbill-kpm-0.2.0 app/views/kpm/plugins/_plugins_table.html.erb
killbill-kpm-0.1.0 app/views/kpm/plugins/_plugins_table.html.erb