Erinnerungen: doppelten Kalender-Knopf entfernen
Der Kalender ist über die Hauptnavigation erreichbar. Die Aktionsgruppe zeigt nur noch 'Erinnerungen jetzt senden' und wird sonst gar nicht gerendert.
This commit is contained in:
parent
1c682c1f98
commit
22f3d0253f
1 changed files with 4 additions and 5 deletions
|
|
@ -33,15 +33,14 @@ foreach ($rows as $row) {
|
|||
<h1>Was als Nächstes ansteht</h1>
|
||||
<p class="page-head__lede">Automatisch aus Mietbeginn und Mietende berechnet – für den zuständigen Mitarbeiter.</p>
|
||||
</div>
|
||||
<div class="page-head__actions">
|
||||
<?php if ($isAdmin && ($mailEnabled || $pushEnabled)): ?>
|
||||
<?php if ($isAdmin && ($mailEnabled || $pushEnabled)): ?>
|
||||
<div class="page-head__actions">
|
||||
<form method="post" action="<?= e(url('/admin/reminders/send')) ?>" data-confirm="Fällige Erinnerungen jetzt per Push und E-Mail senden?">
|
||||
<?= csrf_field() ?>
|
||||
<button class="btn" type="submit"><svg class="ico" aria-hidden="true"><use href="#i-bell"/></svg> Erinnerungen jetzt senden</button>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
<a class="btn primary" href="<?= e(url('/calendar')) ?>"><svg class="ico" aria-hidden="true"><use href="#i-calendar"/></svg> Kalender</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="reminder-toolbar">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue