blob: 8a223ec3edf3134a07a95480b909b49eabbc0f8d (
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
|
{% if shortlog %}
<table class="gitbrowser">
{% for l in shortlog %}
<tr>
<td class="date">
{{ l.date }}</td>
<td class="author">
{{ l.author }}</td>
<td class="description">
<a href="/code/{{object.slug}}/commit/{{ l.hash }}/" class="description">
{{ l.description|truncatewords:10 }}</a></td>
<td class="shorthash">
{% if heads %}{% for h in heads.iteritems %}
{% ifequal h.1 l.hash %}
<a href="/code/{{object.slug}}/head/{{ h.1 }}/" class="head">
[{{ h.0 }}]</a>
{% endifequal %}
{% endfor %}{% endif %}
{% if tags %}{% for t in tags.iteritems %}
{% ifequal l.hash t.1 %}
<a href="/code/{{object.slug}}/tag/{{ t.1 }}/" class="tag">
[{{ t.0 }}]</a>
{% endifequal %}{% endfor %}{% endif %}
<a href="/code/{{object.slug}}/commit/{{ l.hash }}" class="subtle">
<span class="hash">{{ l.shorthash }}</span></a>...</td></tr>
{% endfor %}
</table>
{% else %}No shortlog!{% endif %}
|