Sha256: aacd7690bc5d6b3e559c140c0eaf87428557d7605352d15c9bdd306bfb034120

Contents?: true

Size: 930 Bytes

Versions: 62

Compression:

Stored size: 930 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
    - content = Workarea::Content.from_block(entry.audited_id)
    - if content.present?
      - content_name = link_to content.name, content_path(content)
    - else
      - content_name = t('workarea.admin.activities.some_content')

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

    = t('workarea.admin.activities.content_block_update_html', name: name, fields: fields_clause_for(entry.tracked_changes), content_name: content_name)
    = render 'workarea/admin/activities/release_info', entry: entry

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/views/workarea/admin/activities/_content_block_update.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/activities/_content_block_update.html.haml