Commit 2f3eddf5 authored by mahogony's avatar mahogony
Browse files

Cancel edit shift description

parent dfbe1435
This diff is collapsed.
......@@ -9,6 +9,7 @@ return [
'passwordDesc' => 'Passwort',
'samePassword' => 'Das von dir gewählte Passwort',
'save' => 'Schichtplan speichern',
'cancel' => 'Abbrechen',
'unsubscribe' => 'Ausschreiben',
'subscribe' => 'Einschreiben',
'edit' => 'Planbeschreibung Bearbeiten',
......
......@@ -9,6 +9,7 @@ return [
'passwordDesc' => 'Password',
'samePassword' => 'The password will be the same',
'save' => 'Save plan',
'cancel' => 'Cancel',
'unsubscribe' => 'Unsubscribe',
'subscribe' => 'Subscribe',
'edit' => 'Edit Plan Description',
......
......@@ -9,6 +9,7 @@ return [
'passwordDesc' => 'Contraseña',
'samePassword' => 'La contraseña que elegiste',
'save' => 'Guardar plan de turnos',
'cancel' => 'Cancelar',
'unsubscribe' => 'Darse de baja',
'subscribe' => 'Suscribir',
'edit' => 'Editar descripción del plan',
......
......@@ -51,6 +51,11 @@
</svg>
{{__('plan.save')}}
</button>
@if(isset($plan->id) && $plan->id > 0)
<a class="bg-green-800 hover:bg-green-600 py-2 px-4 rounded mb-4 inline-block text-white font-bold" href="{{ route('plan.admin', $plan) }}">
{{__('plan.cancel')}}
</a>
@endif
</form>
</div>
@endsection
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment