{% blocktrans with request.user.get_full_name as author %}The following help file was added to the {{ SITE_GLOBAL_SITEDISPLAYNAME }} by {{ author }}{% endblocktrans %}. {% if request.user.is_superuser %}(superuser){% else %} {% trans "It needs to be activated" %}{% endif %}:
{% trans 'Question:' %} | {{ object.question }} | |
{% trans 'Topics:' %} | {% for topic in object.topics.all %}{{ topic }}{% if not forloop.last %}, {% endif %}{% endfor %} |
{% trans 'To view the details of this help file, go to:' %} {{ SITE_GLOBAL_SITEURL }}{{ object.get_absolute_url }}
{% if not request.user.is_superuser %}
{% trans 'To activate this help file, go to:' %} {{ SITE_GLOBAL_SITEURL }}{% url 'help_files.edit' object.id %}
{% endif %}{{ SITE_GLOBAL_SITEDISPLAYNAME }}