{%- extends "_layout.html" %} {%- block content %}
{{ _('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) }} |
{% highlight 'json' %}{{ item.before }}{% endhighlight %}
{% highlight 'diff' %}{{ item.diff }}{% endhighlight %}
{% highlight 'json' %}{{ item.after }}{% endhighlight %}