{% from 'flagit/includes/macros.html' import date_by_user with context %} {% set question_model = object.content_type.model == 'question' %} {% set answer_model = object.content_type.model == 'answer' %}
{{ object.content_object.title }}
{% endif %}{{ date_by_user(object.content_object.created, object.content_object.creator) }}
{% if object.content_object.updated_by %}{{ date_by_user(object.content_object.updated, object.content_object.updated_by) }}
{% endif %}{{ date_by_user(object.created, object.creator) }}
{% if object.reason == 'content_moderation' and question_model and user.has_perm('questions.change_question') %}{{ object.content_object.topic }}