Sha256: 1e41055e8862aaf25855295983fbc5df71a5369fe20d3d4c1689bbcf48c3e62a

Contents?: true

Size: 465 Bytes

Versions: 6

Compression:

Stored size: 465 Bytes

Contents

%table.table.table-striped.activities.collection
  %thead
    %tr
      - [:date, :person, :project].each do |attr|
        %th= t_attr(attr, Activity)
      %th.right= t_attr(:duration, Activity)
  %tbody
    = render collection
  %tfoot
    %tr
      %th= "#{collection.minimum(:date)} - #{collection.maximum(:date)}"
      %th
      %th
      %th.right= t('bookyt.projects.hours', :duration => "%0.2f" % collection.sum(:duration))

= render 'activities/sidebar'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bookyt_projects-1.1.2 app/views/activities/_list.html.haml
bookyt_projects-1.1.1 app/views/activities/_list.html.haml
bookyt_projects-1.1.0 app/views/activities/_list.html.haml
bookyt_projects-1.0.1 app/views/activities/_list.html.haml
bookyt_projects-1.0.0 app/views/activities/_list.html.haml
bookyt_projects-0.21.0 app/views/activities/_list.html.haml