{% extends 'base.html.twig' %} {% block title %} {{ commit.subject }} ({{ commit.shortHash }}) - {{ repository.name }} {% endblock %} {% block header %} {% include 'page-header.html.twig' with { repository: repository, baseRef: commit.hash, current: 'commits' } %} {% endblock %} {% block search %} {% include 'search.html.twig' with { repository: repository, commitish: commit.hash } %} {% endblock %} {% block body %}
{{ commit.author.name }} {{ 'REPOSITORY_COMMIT_COMMITED_ON'|trans }} {{ commit.commitedAt|date(commit_list_date_format) }}
{{ 'REPOSITORY_COMMIT_CHANGE_STATS'|trans({'%changed%': commit.diffs|length, '%additions%': commit.additions,'%deletions%': commit.deletions}) }}
{{ commit.body }}{% endif %}
... | ... |
{{ hunk.contents }} |
{% if line.type != 'add' %} {{ line.oldNumber }} {% endif %} | {% if line.type != 'delete' %} {{ line.newNumber }} {% endif %} |
{{ line.contents }} |