aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/tags_table
blob: 7df504a172dc86d83ded494c05c742d6d806e531 (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 tags %}
<table class="gitbrowser">
{% for t in tags.iteritems %}
<tr>
    <td class="tag">
        <a href="/code/{{object.slug}}/tag/{{ h.1 }}" class="subtle">
            {{ t.0 }}</a></td>
    <td class="links">
        <a href="/code/{{object.slug}}/tag/{{ t.1 }}">tag</a> |
        <a href="/code/{{object.slug}}/commit/{{ t.1 }}">commit</a> |
        <a href="/code/{{object.slug}}/commit/{{ t.1 }}/zip"> zip </a></td>
    <td class="hash">
        {% for h in heads.iteritems %}
            {% ifequal h.1 t.1 %} 
                <a href="/code/{{object.slug}}/head/{{ h.1 }}/" class="head">
                [{{ h.0 }}]</a> 
            {% endifequal %}
        {% endfor %} 
        <a href="/code/{{object.slug}}/obj/{{ t.1 }}" class="subtle">
        <span class="hash">{{ t.1 }}</span></a></td></tr>
{% endfor %}
</table>
{% else %}No tags!{% endif %}