summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-29 15:24:30 +0100
committerGitHub <noreply@github.com>2017-11-29 15:24:30 +0100
commit968b7197ceb407ecfa0a59cdef8fe47344633489 (patch)
treee0bd17887f043231202ab5e31fa2342f8f8242bd /includes
parent599f2fd264bfc7b1b6826fe206442806e317340f (diff)
parentb29e23f0864edad3c20716581de73e81c335b615 (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.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'),
])
])
]);