nonadminsmaysee
All checks were successful
Build and push / Pulling repo on server (push) Successful in 21s

This commit is contained in:
2023-10-26 21:32:37 +02:00
parent 00c2e1ded6
commit b429513ab4
3 changed files with 28 additions and 2 deletions

View File

@ -18,11 +18,13 @@
<?php if($tdata['url']): ?><li>Webseite: <a href="<?= $tdata['url']; ?>"><?= escape($tdata['url']); ?></a></li> <?php endif; ?>
</ul>
<?php if($admin===true): ?>
<div class="d-flex justify-content-end">
<button type="button" class="btn btn-secondary" hx-get="/tournaments/edit/<?= $tournament_id; ?>" hx-target="#main">
<i class="fas fa-edit"></i>
</button>
</div>
<?php endif; ?>
</div>
</div>
</div>