{{ badge.description|escape }}{% if frequency %} (x{{ frequency }}){% endif %}
{% if user_badge and badge.badge_context_type %}
x{{ user_badge.count }}
{% endif %}
{% if user_badge %} Last achieved {{ user_badge.date|timesince_ago_short }} {% if user_badge.count|greater_than:1 %} in {% for context_name in user_badge.list_context_names %} {{ context_name|escape }}{% if not forloop.last %},{% endif %} {% endfor %} {% for context_name in user_badge.list_context_names_hidden %} {% if forloop.first %} and also in... {% endif %} {% endfor %} {% else %} {% if user_badge.target_context_name %} in {{ user_badge.target_context_name|escape }} {% endif %} {% endif %} {% else %} {{ extended_description|escape }} {% endif %}
{% if badge.points %}
{{ badge.points }}
{% endif %}