RVRNEXT-5 extend views with currency edit
This commit is contained in:
2 files changed
+51
-1
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user