goodie score visible with admin_user permission
This commit is contained in:
parent
1798ccda83
commit
0239bf1988
|
@ -444,9 +444,9 @@ function User_view_myshifts(
|
|||
'comment' => '',
|
||||
'actions' => '',
|
||||
];
|
||||
if ($goodie_enabled && ($its_me || $tshirt_admin)) {
|
||||
if ($goodie_enabled && ($its_me || $tshirt_admin || auth()->can('admin_user'))) {
|
||||
$myshifts_table[] = [
|
||||
'date' => '<b>' . ($goodie_tshirt ? __('Your T-shirt score') : __('Your goodie score')) . '™:</b>',
|
||||
'date' => '<b>' . ($goodie_tshirt ? __('T-shirt score') : __('Goodie score')) . '™:</b>',
|
||||
'duration' => '<b>' . $tshirt_score . '</b>',
|
||||
'location' => '',
|
||||
'shift_info' => '',
|
||||
|
|
|
@ -1178,8 +1178,8 @@ msgstr "Austragen"
|
|||
msgid "Sum:"
|
||||
msgstr "Summe:"
|
||||
|
||||
msgid "Your T-shirt score"
|
||||
msgstr "Dein T-Shirt Score"
|
||||
msgid "T-shirt score"
|
||||
msgstr "T-Shirt Score"
|
||||
|
||||
msgid "Work log entry"
|
||||
msgstr "Arbeitseinsatz"
|
||||
|
@ -1342,8 +1342,8 @@ msgstr "Goodie"
|
|||
msgid "goodie"
|
||||
msgstr "Goodie"
|
||||
|
||||
msgid "Your goodie score"
|
||||
msgstr "Dein Goodie Score"
|
||||
msgid "Goodie score"
|
||||
msgstr "Goodie Score"
|
||||
|
||||
msgid "Given goodies"
|
||||
msgstr "Ausgegebene Goodies"
|
||||
|
|
Loading…
Reference in New Issue