diff options
author | msquare <msquare@notrademark.de> | 2017-11-29 15:24:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-29 15:24:30 +0100 |
commit | 968b7197ceb407ecfa0a59cdef8fe47344633489 (patch) | |
tree | e0bd17887f043231202ab5e31fa2342f8f8242bd /includes | |
parent | 599f2fd264bfc7b1b6826fe206442806e317340f (diff) | |
parent | b29e23f0864edad3c20716581de73e81c335b615 (diff) |
Merge pull request #367 from MyIgel/master
Feature: Time Interval Buttons (on Shifts page), closes #366
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_shifts.php | 9 |
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'), ]) ]) ]); |