{% extends "core/base.jinja" %} {% from 'core/macros.jinja' import user_profile_link %} {% block title %} {% trans %}News{% endtrans %} - {{ object.title }} {% endblock %} {% block content %}
{% trans %}Back to news{% endtrans %}
{{ news.dates.first().start_date|localtime|date(DATETIME_FORMAT) }} {{ news.dates.first().start_date|localtime|time(DATETIME_FORMAT) }} - {{ news.dates.first().end_date|localtime|date(DATETIME_FORMAT) }} {{ news.dates.first().end_date|localtime|time(DATETIME_FORMAT) }}
{{ news.summary|markdown }}
{% trans %}Author: {% endtrans %}{{ user_profile_link(news.author) }}
{% if news.moderator %}{% trans %}Moderator: {% endtrans %}{{ user_profile_link(news.moderator) }}
{% elif user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID) %} {% endif %} {% if user.can_edit(news) %} {% endif %}