Fixed notification translations & show larger map in locations
This commit is contained in:
parent
087d1cf31e
commit
63c70c0ec2
|
@ -136,7 +136,7 @@ function angeltype_edit_controller()
|
||||||
if ($valid) {
|
if ($valid) {
|
||||||
$angeltype->save();
|
$angeltype->save();
|
||||||
|
|
||||||
success('Angel type saved.');
|
success(__('Angel type saved.'));
|
||||||
engelsystem_log(
|
engelsystem_log(
|
||||||
'Saved angeltype: ' . $angeltype->name . ($angeltype->restricted ? ', restricted' : '')
|
'Saved angeltype: ' . $angeltype->name . ($angeltype->restricted ? ', restricted' : '')
|
||||||
. ($angeltype->shift_self_signup ? ', shift_self_signup' : '')
|
. ($angeltype->shift_self_signup ? ', shift_self_signup' : '')
|
||||||
|
|
|
@ -455,7 +455,7 @@ function admin_shifts()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
success('Shifts created.');
|
success(__('Shifts created.'));
|
||||||
throw_redirect(url('/admin-shifts'));
|
throw_redirect(url('/admin-shifts'));
|
||||||
} else {
|
} else {
|
||||||
$session->remove('admin_shifts_shifts');
|
$session->remove('admin_shifts_shifts');
|
||||||
|
|
|
@ -56,7 +56,7 @@ function location_view(Location $location, ShiftsFilterRenderer $shiftsFilterRen
|
||||||
if ($location->map_url) {
|
if ($location->map_url) {
|
||||||
$tabs[__('location.map_url')] = sprintf(
|
$tabs[__('location.map_url')] = sprintf(
|
||||||
'<div class="map">'
|
'<div class="map">'
|
||||||
. '<iframe style="width: 100%%; min-height: 400px; border: 0 none;" src="%s"></iframe>'
|
. '<iframe style="width: 100%%; min-height: 75vh; border: 0 none;" src="%s"></iframe>'
|
||||||
. '</div>',
|
. '</div>',
|
||||||
htmlspecialchars($location->map_url)
|
htmlspecialchars($location->map_url)
|
||||||
);
|
);
|
||||||
|
|
|
@ -177,6 +177,9 @@ msgstr "Lösche Engeltyp %s"
|
||||||
msgid "Please check the name. Maybe it already exists."
|
msgid "Please check the name. Maybe it already exists."
|
||||||
msgstr "Bitte überprüfe den Namen. Vielleicht ist er bereits vergeben."
|
msgstr "Bitte überprüfe den Namen. Vielleicht ist er bereits vergeben."
|
||||||
|
|
||||||
|
msgid "Angel type saved."
|
||||||
|
msgstr "Engeltyp wurde gespeichert."
|
||||||
|
|
||||||
msgid "Create angeltype"
|
msgid "Create angeltype"
|
||||||
msgstr "Engeltyp erstellen"
|
msgstr "Engeltyp erstellen"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue