blob: 5840db0a7981bf377abcf5d594eb468c3b37f627 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{% if heads %}
<table class="gitbrowser">
{% for h in heads.iteritems %}
<tr>
<td class="head">
<a href="/code/{{object.slug}}/commit/{{ h.1 }}" class="subtle">
{{ h.0 }}</a></td>
<td class="links">
<a href="/code/{{object.slug}}/commit/{{ h.1 }}">commit</a> |
<a href="/code/{{object.slug}}/commit/{{ h.1 }}/zip"> zip </a></td>
<td class="hash">
{% if tags %}{% for t in tags.iteritems %}
{% ifequal h.1 t.1 %}
<a href="/code/{{object.slug}}/tag/{{ t.1 }}/" class="tag">
[{{ t.0 }}]</a>
{% endifequal %}{% endfor %}{% endif %}
<a href="/code/{{object.slug}}/obj/{{ h.1 }}" class="subtle">
{{ h.1 }}</a>
</td></tr>
{% endfor %}
</table>
{% else %}No heads!{% endif %}
|