diff --git a/src/Gist/Resources/views/View/view.html.twig b/src/Gist/Resources/views/View/view.html.twig index 96eda55..8e51d6f 100644 --- a/src/Gist/Resources/views/View/view.html.twig +++ b/src/Gist/Resources/views/View/view.html.twig @@ -1,9 +1,9 @@ {% extends 'base.html.twig' %} {% block css %} - {{ parent() }} + - + {{ parent() }} {% endblock %} {% block body %} @@ -70,24 +70,26 @@ {% for commit in history %}
- Commit {{ commit.commit }}
-
- {% if loop.first %}(init){% endif %}
+
+ {{ commit.commit|slice(0, 10) }}
+
-
- Date: {{ commit.date|date('date.format'|trans) }}
+ {% if loop.first %}init{% endif %}
+
+ {% if not loop.first %}
+
+ diff
+
+ {% endif %}
+
+ {{ commit.date|date('date.format'|trans) }}
{{ commit.diff }}+