Add hook to customize timesheet shift rendering

Also decrease font size slightly for shift text.
This commit is contained in:
Lance Edgar 2016-08-22 17:25:10 -05:00
parent cdde848275
commit 8a19b90efa
3 changed files with 8 additions and 2 deletions

View file

@ -143,7 +143,7 @@
% for day in emp.weekdays:
<td>
% for shift in day['shifts']:
<p class="shift">${shift.get_display(request.rattail_config)}</p>
<p class="shift">${render_shift(shift)}</p>
% endfor
</td>
% endfor