Sha256: d8662b38b76f438805a03c9873193ab1b9195c42d18c6b4ca0f1694e154875b5
Contents?: true
Size: 1.2 KB
Versions: 5
Compression:
Stored size: 1.2 KB
Contents
%table.table.table-striped.collection %thead %tr %th= t_attr :date, Activity %th.right= t_attr :working_hours, Activity %th.right= t_attr :overtime, Activity %th.right= t_attr :overall_overtime, Activity %tbody - work_days.each do |day| - tr_params = {:class => work_day_classes(day)} - tr_params.merge!(:rel => 'popover', 'data-content' => h(render 'timesheets/activities_popover', :activities => day.activities), 'data-original-title' => 'Aktivitäten', 'data-html' => 'true') unless day.activities.empty? %tr{tr_params} %td - if day.activities.empty? = link_to l(day.date, :format => '%a, %d.%m.%Y'), new_activity_path(:activity => {:person_id => day.person_id, :date => day.date.to_s(:db)}), 'data-href-container' => 'tr' - else = link_to l(day.date, :format => '%a, %d.%m.%Y'), person_activities_path(day.person, :by_date => day.date.to_s(:db)), 'data-href-container' => 'tr' %td.right %span.strong= "%0.2f" % day.hours_worked = "(%0.2f)" % day.hours_due %td.right.overtime.strong= "%0.2f" % day.overtime %td.right.overall-overtime.strong= "%0.2f" % day.overall_overtime
Version data entries
5 entries across 5 versions & 1 rubygems