Sha256: efa55b2b3164e803e9d8dcbfeb8c1746e30d387db0197408b14d8ad4e3c6e4b9
Contents?: true
Size: 1.2 KB
Versions: 5
Compression:
Stored size: 1.2 KB
Contents
%table.table.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-placement' => 'bottom', '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 => '%d.%m.%Y, %a'), new_person_activity_path(day.person, :activity => {:date => day.date.to_s(:db)}), 'data-href-container' => 'tr' - else = link_to l(day.date, :format => '%d.%m.%Y, %a'), 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