Add ability to translate tags and content warnings
This commit is contained in:
@@ -166,9 +166,9 @@
|
||||
{% set tag = pair[1] %}
|
||||
|
||||
<a class="btn btn-sm btn-secondary m-1" rel="nofollow"
|
||||
title="{{ tag.description or '' }}"
|
||||
title="{{ tag.get_translated().description or '' }}"
|
||||
href="{{ url_for('packages.list_all', tag=tag.name) }}">
|
||||
{{ tag.title }}
|
||||
{{ tag.get_translated().title }}
|
||||
<span class="badge rounded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user