{% extends "cranefly/layout.html" %} {% import "forms.html" as form_theme with context %} {% import "cranefly/editor.html" as editor with context %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=thread.name,parent=forum.name,page=pagination['page']) }}{% endblock %} {% block breadcrumb %}{{ super() }}
  • {% trans %}Reported Posts{% endtrans %}
  • {{ thread.name }} {%- endblock %} {% block container %}
    {% if message %}
    {{ macros.draw_message(message) }}
    {% endif %}
    {{ pager() }} {% trans %}Comment{% endtrans %} {% if watcher %}
    {% if watcher.email %}
    {% else %}
    {% endif %} {% else %}
    {% endif %}
    {% if thread.start_post_id != posts[0].pk %} {% set posts = (posts|list) %} {% do posts.insert(0, thread.start_post) %} {% endif %} {% for post in posts %}
    {% if post.message %}
    {{ macros.draw_message(post.message) }}
    {% endif %} {% if post.deleted and not acl.threads.can_see_deleted_posts(forum) %}
    {% if post.user_id %} {% else %} {% endif %}
    {% if post.user_id %} {% if post.user.get_title() %} {{ user_label(post.user) }}{% endif %} {% else %} {% endif %} {% if post.edits %} {% if acl.threads.can_see_changelog(user, forum, post) %} {% trans edits=post.edits %}One edit{% pluralize %}{{ edits }} edits{% endtrans %} {% else %} {% trans edits=post.edits %}One edit{% pluralize %}{{ edits }} edits{% endtrans %} {% endif %} {% endif %}
    #{{ pagination['start'] + loop.index }} {% if not post.is_read %}
    {% trans %}New{% endtrans %}
    {% endif %}
    {% trans user=edit_user(post), date=post.delete_date|reltimesince|low %}{{ user }} has deleted this reply {{ date }}{% endtrans %}
    {% else %}
    {% if post.user_id %} {% else %} {% endif %}
    {% if post.user_id %} {% if post.user.get_title() %} {{ user_label(post.user) }}{% endif %} {% else %} {% endif %} {% if post.edits %} {% if acl.threads.can_see_changelog(user, forum, post) %} {% trans edits=post.edits %}One edit{% pluralize %}{{ edits }} edits{% endtrans %} {% else %} {% trans edits=post.edits %}One edit{% pluralize %}{{ edits }} edits{% endtrans %} {% endif %} {% endif %} {% if posts_form and thread.start_post_id != post.pk %} {% endif %} {% if posts_form and thread.start_post_id == post.pk %} #1 {% else %} #{{ pagination['start'] + loop.index0 }} {% endif %}
    {% if post.protected and acl.threads.can_protect(forum) %} {% trans %}Protected{% endtrans %} {% endif %} {% if post.deleted %} {% trans %}Deleted{% endtrans %} {% endif %} {% if not post.is_read %} {% trans %}New{% endtrans %} {% endif %}
    {{ post.post_preparsed|markdown_final|safe }}
    {% if post.has_attachments and acl.threads.can_download_attachments(user, forum, post) %}

    {% trans %}Attached files{% endtrans %}

    {% for row in post.attachments|batch(2) %} {% if not loop.first %}
    {% endif %}
    {% for attachment in row %}

    {{ attachment.name }}

    {% if attachment.user_id %} {{ attachment.user_name }}, {% else %} {{ attachment.user_name }}, {% endif %} {% if acl.users.can_see_users_trails() %} {{ attachment.ip }}, {% endif %} {{ attachment.date|date }}, {{ _(attachment.filetype.name) }}, {{ attachment.size|filesize }}
    {% endfor %}
    {% endfor %}
    {% endif %}
    {% endif %}
    {% if post.checkpoints_visible %}
    {% for checkpoint in post.checkpoints_visible %}

    {%- if checkpoint.action == 'limit' -%} {% trans %}This thread has reached its post limit and has been closed.{% endtrans %} {%- elif checkpoint.action == 'resolved' -%} {% trans user=checkpoint_user(checkpoint), date=checkpoint.date|reltimesince|low %}{{ user }} has set this report as resolved {{ date }}{% endtrans %} {%- elif checkpoint.action == 'bogus' -%} {% trans user=checkpoint_user(checkpoint), date=checkpoint.date|reltimesince|low %}{{ user }} has set this report as bogus {{ date }}{% endtrans %} {%- elif checkpoint.action == 'reported' -%} {% trans user=checkpoint_user(checkpoint), date=checkpoint.date|reltimesince|low %}{{ user }} has also reported this post {{ date }}{% endtrans %} {%- elif checkpoint.action == 'deleted' -%} {% trans user=checkpoint_user(checkpoint), date=checkpoint.date|reltimesince|low %}{{ user }} deleted this thread {{ date }}{% endtrans %} {%- elif checkpoint.action == 'undeleted' -%} {% trans user=checkpoint_user(checkpoint), date=checkpoint.date|reltimesince|low %}{{ user }} restored this thread {{ date }}{% endtrans %} {%- endif -%} {% if acl.threads.can_delete_checkpoint(forum) %} {% if checkpoint.deleted %}
    {% else %}
    {% endif %} {% endif %} {% if acl.threads.can_delete_checkpoint(forum) == 2 %}
    {% endif %}
    {% endfor %}
    {% endif %} {% endfor %}
    {% if thread_form or posts_form %}
    {{ form_theme.field(thread_form.thread_action, attrs={'class': 'span3'}) }}
    {% if posts_form %}
    {{ form_theme.field(posts_form.list_action, attrs={'class': 'span3'}) }}
    {% endif %}
    {% endif %}
    {% trans %}Your Avatar{% endtrans %} {{ editor.editor(quick_reply.post, _('Post Comment'), zen=True, extra=editor_extra()) }}
    {% endblock %} {% block stylesheets %}{{ super() }} {% endblock %} {% block javascripts -%} {{ editor.zen() }} {{ super() }} {{ editor.js() }} {%- endblock %} {% macro user_label(user) -%} <{% if user.rank and user.rank.as_tab %}a href="{{ url('users', slug=user.rank.slug) }}"{% else %}span{% endif %} class="label post-author-label{% if user.rank and user.rank.style %} post-label-{{ user.rank.style }}{% endif %}">{{ user.get_title() }} {%- endmacro %} {% macro pager(extra=true) %} {% endmacro %} {% macro checkpoint_user(checkpoint) -%} {%- if checkpoint.user_id -%} {{ checkpoint.user_name }} {%- else -%} {{ checkpoint.user_name }} {%- endif -%} {%- endmacro %} {% macro checkpoint_forum(checkpoint) -%} {%- if checkpoint.old_forum_id -%} {{ checkpoint.old_forum_name }} {%- else -%} {{ checkpoint.old_forum_name }} {%- endif -%} {%- endmacro %} {% macro edit_user(post) -%} {%- if post.edit_user_id -%} {{ post.edit_user_name }} {%- else -%} {{ post.edit_user_name }} {%- endif -%} {%- endmacro %} {% macro editor_extra() %} {% endmacro %}