Sha256: c58b33ac366d8f73b97da54c2deaa6f452a4693cbc9464abfc3322fe624ea77d
Contents?: true
Size: 1.33 KB
Versions: 7
Compression:
Stored size: 1.33 KB
Contents
table.table.table-striped.index_table#list thead tr.pjax_links = batch_action_toggle th= list_sort_link(:id) th.actions_panel th= list_sort_link(:email) th th= ha :avatar th= list_sort_link(:user_role_id) th= list_sort_link(:first_name) th= list_sort_link(:last_name) th= list_sort_link(:phone) th= list_sort_link(:skype) th= list_sort_link(:created_at) tbody - collection.each do |item| tr = batch_action_item(item) td= id_link(item) = item_index_actions_panel(item) do - if item.active? = link_to t('admin.actions.suspend.link'), suspend_admin_user_path(item), method: :post, class: 'btn btn-warning' - else = link_to icon('ok', true), activate_admin_user_path(item), method: :post, class: 'btn btn-success', title: t('admin.actions.activate.link') td= mail_to item.email td - if item.active? .label.label-success= t 'admin.user.state.active' - else .label.label-danger= t 'admin.user.state.suspended' td= item_image_link(item, assoc: :avatar) td= item.user_role_type.try(:title) td= item.first_name td= item.last_name td= item.phone td= skype_link item.skype td= pretty_data item.created_at
Version data entries
7 entries across 7 versions & 1 rubygems