mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
fix comma separator
This commit is contained in:
parent
0247e0e064
commit
2e9b119733
2 changed files with 8 additions and 4 deletions
|
|
@ -344,7 +344,8 @@
|
||||||
<div class="padding-t-16-px text-left">
|
<div class="padding-t-16-px text-left">
|
||||||
{% if torrent.locales %}
|
{% if torrent.locales %}
|
||||||
<div class="padding-y-4-px">
|
<div class="padding-y-4-px">
|
||||||
{% for i, locale in torrent.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% endfor %}
|
{% set i = 0 %}
|
||||||
|
{% for locale in torrent.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -360,7 +361,8 @@
|
||||||
<div class="padding-t-16-px text-left">
|
<div class="padding-t-16-px text-left">
|
||||||
{% if torrent.categories %}
|
{% if torrent.categories %}
|
||||||
<div class="padding-y-4-px">
|
<div class="padding-y-4-px">
|
||||||
{% for i, category in torrent.categories | sort %}{% if i > 0 %},{% endif %} {{ category | u.title }}{% endfor %}
|
{% set i = 0 %}
|
||||||
|
{% for category in torrent.categories | sort %}{% if i > 0 %},{% endif %} {{ category | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,8 @@
|
||||||
{{ 'Languages' | trans }}
|
{{ 'Languages' | trans }}
|
||||||
</td>
|
</td>
|
||||||
<td class="width-80 line-height-20-px">
|
<td class="width-80 line-height-20-px">
|
||||||
{% for i, locale in user.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% endfor %}
|
{% set i = 0 %}
|
||||||
|
{% for locale in user.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -180,7 +181,8 @@
|
||||||
{{ 'Categories' | trans }}
|
{{ 'Categories' | trans }}
|
||||||
</td>
|
</td>
|
||||||
<td class="width-80 line-height-20-px">
|
<td class="width-80 line-height-20-px">
|
||||||
{% for i, category in user.categories | sort %}{% if i > 0 %},{% endif %} {{ category | u.title }}{% endfor %}
|
{% set i = 0 %}
|
||||||
|
{% for category in user.categories | sort %}{% if i > 0 %},{% endif %} {{ category | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue