Sha256: 9299ddb43c6e2299781b51352888b312244f7a3b9d9760563e8f2a368a61074b

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

.row 
  .col-3 
    b.text-secondary Action
  .col-3 
    b.text-secondary Record
  .col-3 
    b.text-secondary Actor
  .col-3 
    b.text-secondary Created At

- @activities.each do |activity|
  .activity.activity-info[type="button" data-bs-toggle="collapse" data-bs-target="#activity_#{activity.id}" aria-expanded="false" aria-controls="collapseExample"]
    .row 
      .col-3
        = activity_action(activity) 
      .col-3
        = t(activity.record_display_name)
      .col-3 
        = t(activity.actor_display_name)
      .col-3 
        = l(activity.created_at, format: :long)
  .collapse id="activity_#{activity.id}"
    pre
      code.language-json
        = format_json_for_display(activity.attrs)
javascript:
  Prism.highlightAll();

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loggable_activity-0.5.4 app/views/loggable_activity/activities/_activities.html.slim