{% extends "base.html" %} {% from "_diff.html" import diff %} {% block title %}Commit · {{ workspace.name }}{% endblock %} {% block content %} {% set wbase = '/workspaces/' ~ workspace.id %} {% set q = '?source=' ~ source.name|urlencode %}
{% if detail %}

{{ detail.commit.subject }}

{% else %}

Commit

{% endif %}
{% include "_flash.html" %} {% if detail %}{% set c = detail.commit %}

{{ c.author }} <{{ c.email }}> · {{ c.date.astimezone().strftime('%d.%m.%Y %H:%M') }} · {{ c.sha }}

{% if detail.parents|length > 1 %}

Merge-Commit; Diff gegen den ersten Elternteil {{ detail.parents[0][:10] }}.

{% endif %} {% if detail.body %}
{{ detail.body }}
{% endif %}
Zurück

{{ detail.files|length }} Datei{{ 'en' if detail.files|length != 1 }}

{% if detail.diff %}{{ diff(detail.diff) }}{% endif %} {% if detail.truncated %}

Diff gekürzt; vollständig im Git-Server.

{% endif %}
{% endif %} {% endblock %}