Sha256: e41be53bda5a7be45767806851dfe7e3e7e8f5bd7d81be54092f8b278f6d2a9b

Contents?: true

Size: 838 Bytes

Versions: 62

Compression:

Stored size: 838 Bytes

Contents

.summary
  = link_to user_path(model) do
    %span.summary__name= model.email
    .summary__info-container
      %span.summary__info= local_time_ago(model.updated_at)
      %span.summary__info
        = pluralize(model.insights.orders, t('workarea.admin.users.summary.order'))
        ,
        = number_to_currency(model.insights.revenue)
    - summary_type = model.admin? ? t('workarea.admin.users.summary.admin_user') : t('workarea.admin.users.summary.user')
    %span.summary__type{ title: summary_type }
      = summary_type
  .checkbox.summary__checkbox.hidden
    = check_box_tag 'product_id', model.to_global_id.to_param, false, class: 'checkbox__input summary__checkbox-input', id: dom_id(model)
    = label_tag dom_id(model), t('workarea.admin.bulk_actions.add_summary_button'), class: 'checkbox__label summary__checkbox-label'

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/users/_summary.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/users/_summary.html.haml