Doppelten Chat-Button in Tour-Ansichten entfernen

This commit is contained in:
torsten 2026-11-10 10:59:21 +01:00
parent d9b65fd37e
commit 82c3cc8dae
2 changed files with 0 additions and 16 deletions

View file

@ -106,14 +106,6 @@
<textarea class="col-12" name="beschreibung" rows="10" cols="50" readonly><?= e($tour->beschreibung) ?></textarea>
</div>
<?php if (!empty($canChat)): ?>
<a href="/tour/<?= e($tour->id) ?>/chat" class="btn btn-primary col-3 mb-2 float-left mr-2">
Chat
<?php if (($chatUnread ?? 0) > 0): ?>
<span class="badge badge-light"><?= e(($chatUnread ?? 0) > 99 ? '99+' : (string) $chatUnread) ?></span>
<?php endif; ?>
</a>
<?php endif; ?>
<?php if ($current && $canManage): ?>
<a href="/tour/<?= e($tour->id) ?>/edit">
<div type="submit" class="btn btn-danger col-3 mb-2 float-left mr-2">Bearbeiten</div>

View file

@ -79,14 +79,6 @@
<textarea class="col-12" name="bericht" rows="10" cols="50" readonly><?= e($tour->bericht) ?></textarea>
</div>
<?php if (!empty($canChat)): ?>
<a href="/tour/<?= e($tour->id) ?>/chat" class="btn btn-primary col-3 mb-2 float-left mr-2">
Chat
<?php if (($chatUnread ?? 0) > 0): ?>
<span class="badge badge-light"><?= e(($chatUnread ?? 0) > 99 ? '99+' : (string) $chatUnread) ?></span>
<?php endif; ?>
</a>
<?php endif; ?>
<?php if ($current && $canManage): ?>
<a href="/tour/<?= e($tour->id) ?>/edit"><div type="submit" class="btn btn-danger col-3 mb-2 float-left mr-2">Bearbeiten</div></a>
<?php endif; ?>