{% extends "dex/base.html" %} {% load i18n dex_extras %} {% block title %}{% trans "Abzeichen" %} โ€” Vogelalbum{% endblock %} {% block kopf %} {% endblock %} {% block content %}

{% trans "Abzeichen" %} {% blocktrans with n=progress.badges %}{{ n }} verdient{% endblocktrans %}

{% for row in rows %}
{% abzeichen_bild row.badge.code as pin %} {% if pin %} {% else %}
{{ row.badge.emoji }}
{% endif %}
{{ row.badge.name_lokal }}
{{ row.badge.description_lokal }}
{% if row.earned %}{{ row.at|date:"SHORT_DATE_FORMAT" }} ยท +{{ row.badge.xp }} XP{% else %}+{{ row.badge.xp }} XP{% endif %}
{% comment %} ๐Ÿ”‘ Balken nur, wo es etwas zu zaehlen gibt. Bei "Ein Specht war da" stuende er dauerhaft auf null und waere keine Information. โš ๏ธ {# โ€ฆ #} ist in Django EINZEILIG โ€” mehrzeilig braucht es comment, sonst steht der Text sichtbar auf der Seite. {% endcomment %} {% if row.ziel %}
{{ row.ist }} / {{ row.ziel }}
{% endif %}
{% endfor %}
{% endblock %}