mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-14 01:13:37 -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>
|
||||
</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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user