RVRNEXT-5 extend views with currency edit

This commit is contained in:
bence committed 2023-04-23 20:09:49 +02:00
1 parent 12065b0525
commit be0a15d02d
2 files changed
+51 -1

No files matched your search

+7 -1
View File
@@ -17,7 +17,13 @@
<div>
<h3 class="marginBottom">Currencies</h3>
<p>Main currency: <b><?= $community->getCurrency() ?></b></p>
<p>Further currencies: <b><?= implode(', ', $currencyNames) ?></b></p>
<?php if (count($currencyCodes) > 0): ?>
<p>Further currencies: <b><?= implode(', ', $currencyCodes) ?></b></p>
<?php endif; ?>
<?php if ($editPermission): ?>
<hr>
<p><a href="<?= Container::$routeCollection->getRoute('community-currencies')->generateLink(['communityId' => $community->getId()]) ?>">Edit currencies</a></p>
<?php endif; ?>
</div>
<div>
<h3 class="marginBottom">Upcoming events</h3>