Sha256: 9c5a5801432a2e374171d3f6d9ae1b6b27bda2449028487a944f4e6bc81bf348

Contents?: true

Size: 946 Bytes

Versions: 28

Compression:

Stored size: 946 Bytes

Contents

%tr.action
  %td.starred.starable{"data-person-id" => @person.id, "data-type" => 'action', "data-action-id" => action.id, :class => (action.starred? ? "active" : "not-active") }
    ✭
  %td
    = action.occurred_at.strftime("%D") unless action.occurred_at.nil?
  %td.icon
    = link_to action.action_type, '#', :class => "btn action-icon #{action.action_type.downcase}-icon", :onclick => "return false;"

  %td.toggle-truncated
    .view
      .truncated
        %p
          = action.quip
          %span.muted= truncate(action.full_details, :length => 80)
      .not-truncated{:style => 'display:none;'}
        =render :partial => show_action_template(action), :locals => { :action => action }

  - if action.editable? 
    %td.person-inline-form.action-form.edit-action-form{:style => 'display:none;', :colspan => 4}
      %h4 Edit Action
      = render :partial => 'actions/inline', :locals => {:action => action, :target => @person}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
artfully_ose-1.2.0 app/views/actions/_action.html.haml
artfully_ose-1.2.0.beta.1 app/views/actions/_action.html.haml
artfully_ose-1.2.0.alpha.2 app/views/actions/_action.html.haml
artfully_ose-1.2.0.alpha.1 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.27 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.26 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.24 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.23 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.21 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.20 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.19 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.18 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.17 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.16 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.15 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.12 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.11 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.10 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.9 app/views/actions/_action.html.haml
artfully_ose-1.2.0.pre.8 app/views/actions/_action.html.haml