blob: 46bf9b6461f2b7dd3975504087e595094cf60f19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{% extends "base.html" %}
{% block child_content %}
<table class="details-table">
<thead>
<tr>
<th>Branch</th>
<th>Commit message</th>
<th>Author</th>
<th>Date</th>
</tr>
</thead>
<tbody>
{% for b in branches %}
<tr>
<td>{{ b.name }}</td>
<td>{{ b.last_commit.message }}</td>
<td>{{ b.last_commit.author }}</td>
<td>{{ b.last_commit.date }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<table class="details-table">
<thead>
<tr>
<th>Hash</th>
<th>Commit message</th>
<th>Author</th>
<th>Date</th>
<th>Lines</th>
</tr>
</thead>
<tbody>
{% for c in commits %}
<tr>
<td>{{ c.hash }}</td>
<td>{{ c.message }}</td>
<td>{{ c.author }}</td>
<td>{{ c.date }}</td>
<td>+{{ c.diff.0 }}/ -{{ c.diff.1 }}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|