Sha256: 345b70123e621a4cad6af5622a0d56c1e940864ce21e32af2ad90eefbdaea045

Contents?: true

Size: 745 Bytes

Versions: 3

Compression:

Stored size: 745 Bytes

Contents

%h1 Aktivitäts-Log
%div
  %table.activities.datatable.display
    %thead
      %tr
        %th Time
        %th Who
        %th Action
        %th Object
        %th Params
    %tbody
      - @activities.each do |activity|
        %tr
          %td= activity.created_at
          %td
            - if activity.owner
              = link_to activity.owner.title, activity.owner
          %td= activity.key
          - object_title = activity.trackable.title if activity.trackable.respond_to?(:title)
          %td
            - begin
              = link_to (object_title || activity.trackable.class.name), activity.trackable
            - rescue
              = (object_title || activity.trackable.class.name)
          %td= activity.parameters

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/activities/index.html.haml
your_platform-1.0.0 app/views/activities/index.html.haml
your_platform-0.0.2 app/views/activities/index.html.haml