Sha256: b5b3c1954de68ea185b8f5145e2ac1e9c89daee8d73f446d9f4a7467d6932289
Contents?: true
Size: 1.2 KB
Versions: 3
Compression:
Stored size: 1.2 KB
Contents
%table.zebra-striped.condensed-table.span8 %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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bookyt_projects-0.19.15 | app/views/timesheets/_show.html.haml |
bookyt_projects-0.19.14 | app/views/timesheets/_show.html.haml |
bookyt_projects-0.19.13 | app/views/timesheets/_show.html.haml |