{% extends 'layout-page.twig' %}
{% set page = 'commits' %}
{% block title %}P3X GitList{% endblock %}
{% block content %}
<script type="text/javascript">
window.gitlist.lastload = Date.now();
</script>
<div class="p3x-gitlist-overlay">
<div>
<i class="fas fa-cog fa-spin fa-3x"></i>
</div>
<br/>
<div>
Loading a big commit ...
</div>
</div>
{% embed 'breadcrumb.twig' with {breadcrumbs: [{dir: "Commit #{commit.hash}", path:''}]} %}
{% block right %}
<a class="btn btn-info btn-sm" href="{{ path('branch', {repo: repo, branch: commit.hash}) }}"
title="Browse code at this point in history"><span class="fa fa-list-alt"></span> Browse code</a>
{% endblock %}
{% endembed %}
<!--
<div role="alert" class="alert-dismissable alert alert-warning">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">×</span></button>
The diffs are not showing by default, because it costs a lot of computing.
</div>
-->
<div class="panel panel-default">
<div class="panel-heading">
<div class="media">
<div class="media-left">
<a>
<img class="media-object" src="{{ avatar(commit.author.email, 32) }}"/>
</a>
</div>
<div class="media-body">