{% load i18n static cosinnus_tags widget_tweaks thumbnail %}
{% with categories=offer.categories.all %}
{% if categories %}
{% trans "offered in" %}:
{% for category in categories %}
{{ category.name }}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% endif %}
{% endwith %}
{% if offer.is_active %}
{% trans "expires on" %}:
{% else %}
{% trans "expired on" %}:
{% endif %}
{% blocktrans with username=offer.creator.first_name %}Contact {{ username }} directly{% endblocktrans %}:
{% if offer.phone_number %}{% trans "Phone number" %}: {% if user.is_authenticated %} {{ offer.phone_number.as_international }} {% else %} ({% trans "Only shown for registered users" %}) {% endif %}
{% endif %} {% if not SETTINGS.COSINNUS_IS_INTEGRATED_PORTAL %} {% endif %}