Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix multiplier for single tag.
James Cole04f5214bb704
diff --git a/resources/views/reports/partials/tags.twig b/resources/views/reports/partials/tags.twigindex 8c6d2c7e60..2e1bb9b470 100644--- a/resources/views/reports/partials/tags.twig+++ b/resources/views/reports/partials/tags.twig@@ -4,9 +4,14 @@<h3 class="box-title">{{ 'tags'|_ }}</h3></div><div class="box-body">+ {% if tag|length == 1 %}+ {% set multiplier = 12 %}+ {% else %}+ {% set multiplier = 30 %}+ {% endif %}{% for tag in tags %}<span title="{{ tag.amount|formatAmountPlain }}"- style="font-size: {{ tag.fontsize * 30 }}px"+ style="font-size: {{ tag.fontsize * multiplier }}px"> <a href="{{ route('tags.show', tag.id) }}">{{ tag.tag }}</a> </span>{% endfor %}