% javascript 'foreman_scc_manager/scc_accounts' %> <% title _("SUSE subscriptions") %> <% title_actions new_link(_("Add SCC account")) %>
<%= sort :name %> | <%= _("Products") %> | <%= _("Last synced") %> | <%= _("Actions") %> |
---|---|---|---|
<%= link_to_if_authorized(scc_account.name, hash_for_edit_scc_account_path(:id => scc_account).merge(:auth_object => scc_account, :authorizer => authorizer)) %> | <%= scc_account.scc_products.count.to_s %> | <%= scc_account.get_sync_status %> | <%= 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 }) ) %> |