{%- extends "_layout.html" %} {%- block content %}
{{ macros_page.render_breadcrumbs(item) }}

{{ item.__str__() }}


{{ _('Log time') }}: {{ babel_format_datetime(item.createtime) }} ({{ _('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - item.createtime)) }})
{{ _('Author') }}: {%- if item.author %} {{ item.author.login }} {%- else %} {{ _('<< system change >>') }} {%- endif %}
{{ _('Item') }}: {%- if item.operation in ('create','update','enable','disable') %}{{ item.model }}#{{ item.model_id }}{%- else %}{{ item.model }}#{{ item.model_id }}{%- endif %}
{{ _('Endpoint') }}: {{ macros_page.render_label_endpoint(item.endpoint) }}

{{ _('Initial item state') }}:

{% highlight 'json' %}{{ item.before }}{% endhighlight %}

{{ _('Difference') }}:

{% highlight 'diff' %}{{ item.diff }}{% endhighlight %}

{{ _('Final item state') }}:

{% highlight 'json' %}{{ item.after }}{% endhighlight %}
{%- endblock content %}