mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix multiplier for single tag.
This commit is contained in:
parent
4c35d52234
commit
04f5214bb7
@ -4,9 +4,14 @@
|
|||||||
<h3 class="box-title">{{ 'tags'|_ }}</h3>
|
<h3 class="box-title">{{ 'tags'|_ }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
|
{% if tag|length == 1 %}
|
||||||
|
{% set multiplier = 12 %}
|
||||||
|
{% else %}
|
||||||
|
{% set multiplier = 30 %}
|
||||||
|
{% endif %}
|
||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
<span title="{{ tag.amount|formatAmountPlain }}"
|
<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>
|
> <a href="{{ route('tags.show', tag.id) }}">{{ tag.tag }}</a> </span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user