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.5.15 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/activities/_catalog_variant_create.html.haml