{% extends "cranefly/layout.html" %} {% load i18n %} {% load url from future %} {% 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() }} / {% for parent in parents %}
  • {{ parent.name }} /
  • {% endfor %}
  • {{ thread.name }} /
  • {% trans post=post.pk %}Post #{{ post }} Changelog{% endtrans %} {%- endblock %} {% block content %} {% if edits %} {% for edit in edits %} {% endfor %}
    {% trans %}Logged Changes{% endtrans %}
    #{{ loop.revindex }}{% if edit.change != 0 %} {% if edit.change > 0 -%} {% trans chars=edit.change %}Added one character to post.{% pluralize %}Added {{ chars }} characters to post.{% endtrans %} {%- elif edit.change < 0 -%} {% trans chars=edit.change|abs %}Removed one character from post.{% pluralize %}Removed {{ chars }} characters from post.{% endtrans %} {%- endif %}{% endif %}{% if edit.thread_name_old %} {% trans old=edit.thread_name_old, new=edit.thread_name_new %}Changed thread name from "{{ old }}" to "{{ new }}".{% endtrans %}{% endif %}{% if edit.thread_name_old %} {% trans old=edit.thread_name_old, new=edit.thread_name_new %}Renamed thread from "{{ old }}" to "{{ new }}".{% endtrans %}{% endif %}
    {% if edit.user_id %}{{ edit.user_name }}{% else %}{{ edit.user_name }}{% endif %}, {{ edit.date|reltimesince }}{% if edit.reason %}, {{ edit.reason }}{% endif %}
    {% else %}

    {% trans %}This post was never edited.{% endtrans %}

    {% endif %} {% endblock %}