summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-07-20 02:22:18 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-07-20 02:30:53 +0200
commite1762e7764d4ee4f37757ecd2630f62a440dbf0e (patch)
treeab10822d61e7a2549be99bf2e7964351ddda484b /includes/pages/user_shifts.php
parentd4ad70804be9d310787b98fcdce51b3697967d22 (diff)
replaced template_render with dynamic renderer class
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 4dabdfb5..813cb9b3 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -206,7 +206,7 @@ function view_user_shifts()
return page([
div('col-md-12', [
msg(),
- template_render(__DIR__ . '/../../templates/user_shifts.html', [
+ view(__DIR__ . '/../../templates/user_shifts.html', [
'title' => shifts_title(),
'room_select' => make_select($rooms, $shiftsFilter->getRooms(), 'rooms', _('Rooms')),
'start_select' => html_select_key('start_day', 'start_day', array_combine($days, $days), $start_day),