{% extends 'base.html.twig' %} {% block css %} {{ parent() }} {% endblock %} {% block title %}{{ gist.title ? gist.title : 'gist.untitled'|trans }} - {{ 'gist.action.history'|trans }}{% endblock %} {% block body %}
{% if not gist.cipher %} {% endif %}
{{ gist.title ? gist.title : 'gist.untitled'|trans }}
{% if not gist.cipher %}
{% for commit in history %}

{{ commit.commit|slice(0, 10) }} {% if loop.first %}init{% endif %} {% if not loop.first %} diff {% endif %}

{{ commit.date|date('date.format'|trans) }}

{% if not loop.first %}
{{ commit.diff|raw }}
{% endif %}
{% if not loop.last %}
{% endif %} {% endfor %}
{% endif %}
{% endblock %} {% block js %} {{ parent() }} {% endblock %}