{% if extra.mode == 'story' %} {%- if item.user and item.user.id in edit_log_users -%} {%- with user=edit_log_users.get(item.user.id) %} {%- include 'includes/userlink.html' -%} {% endwith -%} {%- else -%} N/A {%- endif %} {{ extra.label }} {{ item.story.title }} {% if extra.list_items %} {% endif %} {%- elif extra.mode == 'chapter' %} {%- if item.user and item.user.id in edit_log_users -%} {%- with user=edit_log_users.get(item.user.id) %} {%- include 'includes/userlink.html' -%} {% endwith -%} {%- else -%} N/A {%- endif %} {{ 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 %} {% endif %} {% if not extra.diff_html and extra.diff_html_available %} {% if not extra.list_items %}
{% endif %} {{ _('Show changes') }} {% endif %} {%- else %}???{% endif %}