{% extends "cranefly/layout.html" %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=(_("Post #%(post)s Changelog") % {'post': post.pk}),parent=thread.name) }}{% endblock %} {% block breadcrumb %}{{ super() }}
- {% trans %}Reported Posts{% endtrans %}
- {{ thread.name }}
- {% trans post=post.pk %}Post #{{ post }} Changelog{% endtrans %}
- {% trans date=change.date|reltimesince|low %}Edit from {{ date }}{% endtrans %} {%- endblock %} {% block container %}
  {{ messages_list(messages) }}

# {% trans date=change.date|reltimesince|low %}Edit from {{ date }}{% endtrans %} {% trans post=post.pk %}Post #{{ post }} Changelog{% endtrans %}

- {{ post.date|reltimesince }}
- {% if change.user_id %}{{ change.user_name }}{% else %}{{ change.user_name }}{% endif %}
{% if acl.users.can_see_users_trails() %}
- {{ change.ip }}
- {{ change.agent }}
{% endif %} {% if change.change != 0 %}
- {% if change.change > 0 -%} {% trans chars=change.change %}Added one character{% pluralize %}Added {{ chars }} characters{% endtrans %} {%- elif change.change < 0 -%} {% trans chars=change.change|abs %}Removed one character{% pluralize %}Removed {{ chars }} characters{% endtrans %} {%- endif %}
{% endif %}

{% if message %}
{{ macros.draw_message(message) }}
{% endif %} {% if change.reason %}

{{ change.reason }}

{% endif %} {% if acl.threads.can_edit_reply(user, forum, thread, post) or prev or next %}
{{ pager() }} {% if user.is_authenticated() and acl.threads.can_make_revert(forum, thread) %}
{%- endif %}
{% endif %}

{% for line in diff %}{% if line[0] != "?" %}
{{ l }}. | {% if line[2:] %}{{ line[2:] }}{% else %} {% endif %}
{% set l = l + 1 %} {% endif %}{% endfor %}

{% if prev or next %}
{{ pager() }}
{% endif %}
{% endblock %} {% macro pager() %} {% if prev or prev %}

{% if prev %}
- {{ prev.date|reldate }}
{% endif %} {% if next %}
- {{ next.date|reldate }}
{% endif %}

{% endif %} {% endmacro %}