Enhance badge descriptions in campaign detail and RSS feed outputs

This commit is contained in:
Joakim Hellsén 2026-01-16 01:54:18 +01:00
commit fad0821515
No known key found for this signature in database
6 changed files with 141 additions and 9 deletions

View file

@ -40,7 +40,7 @@ These are the global chat badges available on Twitch.
{% endfor %}
<hr />
{% else %}
<p>no badge sets found.</p>
<p>No badge sets found.</p>
<p>
run: <code>uv run python manage.py import_chat_badges</code>
</p>

View file

@ -167,6 +167,9 @@
margin-right: 4px" />
{{ drop.awarded_badge.title }}
</a>
{% if drop.awarded_badge.description %}
<div style="margin-top: 4px; color: #a9a9a9; font-size: 0.9em;">{{ drop.awarded_badge.description|linebreaksbr }}</div>
{% endif %}
</div>
{% endif %}
{% endfor %}