{% extends 'layout_page.twig' %} {% set page = 'commits' %} {% block title %}GitList{% endblock %} {% block content %} {% include 'breadcrumb.twig' with {breadcrumbs: [{dir: "Commit #{commit.hash}", path:''}]} %}
Browse code

{{ commit.message }}

{% if commit.body is not empty %}

{{ commit.body | nl2br }}

{% endif %} {{ commit.author.name }} authored on {{ commit.date | format_date }} {% if commit.author.email != commit.commiter.email %} • {{ commit.commiter.name }} committed on {{ commit.commiterDate | format_date }} {% endif %}
Showing {{ commit.changedFiles }} changed files
{% for diff in commit.diffs %}
{% for line in diff.getLines %} {% endfor %}
{% if line.getType != 'chunk' %} {% endif %} {{ line.getNumOld }} {% if line.getType != 'chunk' %} {% endif %} {% if line.getType != 'chunk' %} {% endif %} {{ line.getNumNew }} {% if line.getType != 'chunk' %} {% endif %} {{ line.getLine }}
{% endfor %}
{% endblock %}