Sha256: 174214b012a0105dc7757ebca086f8b89d5487d3f2e1ec272ef2b1a19afd7621
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
<% javascript 'foreman_scc_manager/scc_accounts' %> <% title _("SUSE subscriptions") %> <% title_actions new_link(_("Add SCC account")) %> <table class="<%= table_css_classes 'table-two-pane table_fixed' %>"> <thead> <tr> <th class="col-md-4"><%= sort :name %></th> <th class="col-md-3"><%= _("Products") %></th> <th class="col-md-3"><%= _("Last synced") %></th> <th class="col-md-2"><%= _("Actions") %></th> </tr> </thead> <tbody> <% @scc_accounts.each do |scc_account| %> <tr> <td class="display-two-pane ellipsis"> <%= link_to_if_authorized(scc_account.name, hash_for_edit_scc_account_path(:id => scc_account).merge(:auth_object => scc_account, :authorizer => authorizer)) %> </td> <td><%= scc_account.scc_products.count.to_s %></td> <td><%= link_to_if(scc_account.sync_task, scc_account.get_sync_status, scc_account.sync_task) %></td> <td> <%= action_buttons( display_link_if_authorized(_("Select products"), hash_for_scc_account_path(:id => scc_account).merge(:auth_object => scc_account, :authorizer => authorizer)), display_link_if_authorized(_("Sync"), hash_for_sync_scc_account_path(:id => scc_account).merge(:auth_object => scc_account, :authorizer => authorizer), :method => :put), display_delete_if_authorized(hash_for_scc_account_path(:id => scc_account).merge(:auth_object => scc_account, :authorizer => authorizer), :data => { :confirm => _("Delete %s?") % scc_account.to_s }) ) %> </td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @scc_accounts %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_scc_manager-1.3.1 | app/views/scc_accounts/index.html.erb |
foreman_scc_manager-1.3.0 | app/views/scc_accounts/index.html.erb |