Skip to content

Commit

Permalink
Improve printable schedule
Browse files Browse the repository at this point in the history
Adds minutes to the start time displayed on the printable schedule. Also prints the hours for setup/teardown shifts.
  • Loading branch information
kitsuta committed Jun 8, 2023
1 parent 02df1ed commit 07492cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uber/templates/staffing/printable_schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<tr>
<td>{{ shift.job.name }}</td>
<td>{{ shift.job.department_name }}</td>
<td>{{ hour_day_local(shift.job.start_time) }}</td>
<td>{% if shift.job.is_setup or shift.job.is_teardown %}__________
<td>{{ shift.job.start_time|datetime_local("%-I:%M %p") }}</td>
<td>{% if shift.job.is_setup or shift.job.is_teardown %}__________ (up to {{ (shift.job.duration / 60)|int }} hours)
{% else %}{{ (shift.job.duration / 60)|int }}{% endif %}</td>
<td>(x{{ shift.job.weight }})</td>
<td>__________</td>
Expand Down

0 comments on commit 07492cb

Please sign in to comment.