summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-11-29 13:23:38 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-11-29 13:30:41 +0100
commit0b45d2a88febf2aac299fe504bb68b2fafcef068 (patch)
tree20f14f210cd5b6b904345ebeba3bf01a3f6496a0 /includes/pages
parent599f2fd264bfc7b1b6826fe206442806e317340f (diff)
#366 Feature: Time Interval Buttons (on Shifts page), closes #366
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/user_shifts.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index f8cf71cd..ef21ff1b 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -242,7 +242,14 @@ function view_user_shifts()
page_link_to('shifts_json_export', ['key' => $user['api_key']]),
page_link_to('user_myshifts', ['reset' => 1])
) . '</p>',
- 'filter' => _('Filter')
+ 'filter' => _('Filter'),
+ 'set_yesterday' => _('Yesterday'),
+ 'set_today' => _('Today'),
+ 'set_tomorrow' => _('Tomorrow'),
+ 'set_last_8h' => _('last 8h'),
+ 'set_last_4h' => _('last 4h'),
+ 'set_next_4h' => _('next 4h'),
+ 'set_next_8h' => _('next 8h'),
])
])
]);