Sha256: c39ad369de94dceb45b89d89f52c8d7943218bb4d63b0867ef62f13080ef4e59

Contents?: true

Size: 812 Bytes

Versions: 62

Compression:

Stored size: 812 Bytes

Contents

.activity
  .activity__header
    .activity__avatar
      = link_to_modifier(entry) do
        = avatar_for entry.modifier
    %h3.activity__name= link_to_modifier(entry)
    %p.activity__time= activity_time(entry.created_at)
  .activity__message
    - if entry.root.present?
      - product_name = link_to entry.root.name, catalog_product_path(entry.root)
    - else
      - product_name = t('workarea.admin.activities.a_product')

    - if entry.audited.blank?
      - name = t('workarea.admin.activities.a_variant')
    - elsif entry.root.blank?
      - name = entry.audited.name
    - else
      - name = link_to entry.audited.name, edit_catalog_product_variant_path(entry.root, entry.audited)

    = t('workarea.admin.activities.catalog_product_variant_create_html', name: name, product_name: product_name)

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.27 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.25 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/activities/_catalog_variant_create.html.haml