summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorMichiK <6341204+der-michik@users.noreply.github.com>2018-12-06 23:05:40 +0100
committermsquare <msquare@notrademark.de>2018-12-07 17:26:44 +0100
commit7e53c458901e3c0c801deb626ef8ce44484a38c6 (patch)
tree16693264f0faddbf7d3fbe6de152ea0c4db2afbf /includes/pages
parenta1c01461c6244dc30850d64c4795759f772f706b (diff)
Change the color of "reset" in admin_arrive
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_arrive.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php
index 0714d980..bd51c11c 100644
--- a/includes/pages/admin_arrive.php
+++ b/includes/pages/admin_arrive.php
@@ -100,7 +100,10 @@ function admin_arrive()
$usr['actions'] = form([
form_hidden('action', $usr->state->arrived ? 'reset' : 'arrived'),
form_hidden('user', $usr->id),
- form_submit('submit', $usr->state->arrived ? __('reset') : __('arrived'), 'btn-xs'),
+ form_submit(
+ 'submit', $usr->state->arrived ? __('reset') : __('arrived'), 'btn-xs', true,
+ $usr->state->arrived ? 'danger' : 'primary'
+ ),
]);
if ($usr->state->arrival_date) {