{% if extra.mode == 'story' %}
{% with user=item.user %}
{% include 'includes/userlink.html' %}
{% endwith %}
{{ extra.label }} {{ item.story.title }}
{% if extra.list_items %}
{% for k, v in item.data.items() %}
-
{{ k }}:
{{ v[0] }}
→
{{ v[1] }}
{% endfor %}
{% endif %}
{%- elif extra.mode == 'chapter' %}
{% with user=item.user %}
{% include 'includes/userlink.html' %}
{% endwith %}
{{ extra.label }}
{% if item.chapter -%}
«{{ item.chapter_autotitle }}»
{%- else -%}
«{{ item.chapter_autotitle }}»
{%- endif %}
{{ pgettext('story_edit_log', 'of story') }} {{ item.story.title }}
{% if extra.list_items %}
{% for k, v in item.data.items() %}
-
{{ k }}:
{{ v[0] }}
→
{{ v[1] }}
{% endfor %}
{% endif %}
{% if not extra.diff_html and extra.diff_html_available %}
{% if not extra.list_items %}
{% endif %} {{ _('Show changes') }}
{% endif %}
{%- else %}???{% endif %}