RVRNEXT-5 add/update layout for currency exchange rates
This commit is contained in:
2 files changed
+63
-2
No files matched your search
@@ -17,8 +17,12 @@
|
||||
<div>
|
||||
<h3 class="marginBottom">Currencies</h3>
|
||||
<p>Main currency: <b><?= $community->getCurrency() ?></b></p>
|
||||
<?php if (count($currencyCodes) > 0): ?>
|
||||
<p>Further currencies: <b><?= implode(', ', $currencyCodes) ?></b></p>
|
||||
<?php if (count($currencies) > 0): ?>
|
||||
<p>Further currencies: <b>
|
||||
<?php foreach ($currencies as $currency): ?>
|
||||
<a href="<?= Container::$routeCollection->getRoute('community-currency-exchange-rates')->generateLink(['communityId' => $community->getId(), 'code' => $currency->getCode()]) ?>"><?= $currency->getCode() ?></a>
|
||||
<?php endforeach; ?>
|
||||
</b></p>
|
||||
<?php endif; ?>
|
||||
<?php if ($editPermission): ?>
|
||||
<hr>
|
||||
|
||||
Reference in new issue
Block a user