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.27 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/activities/_catalog_variant_create.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/activities/_catalog_variant_create.html.haml