2023-04-05 22:46:37 +02:00
|
|
|
{% extends 'base/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Snip {{ snip }}{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<a href="{{ path('snip_single', {snip: snip.id}) }}" class="btn btn-primary">
|
|
|
|
<i class="fa fa-arrow-left"></i> Back
|
|
|
|
</a>
|
2023-04-05 23:05:33 +02:00
|
|
|
<a href="{{ path('history_set', {commit: 'master', snip: snip.id}) }}" class="btn btn-warning">
|
|
|
|
<i class="fa fa-refresh"></i> Master
|
2023-04-05 22:46:37 +02:00
|
|
|
</a>
|
2023-04-05 23:05:33 +02:00
|
|
|
<br><br>
|
2023-04-05 22:46:37 +02:00
|
|
|
<div class="list-group">
|
|
|
|
{% for commit in commits %}
|
|
|
|
<a class="list-group-item" href="{{ path('history_set', {commit: commit.hash, snip: snip.id}) }}">
|
|
|
|
{{ commit.date|date }} - {{ commit.hash }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|