aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/heads_table
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-02-20 19:53:26 -0800
committerbnewbold <bnewbold@manus.(none)>2007-02-20 19:53:26 -0800
commitcce589d9b309679c8ea0a9bbed88e0093c1927f0 (patch)
tree853a3505741f036c0a7202bb9f144b4f31dddd03 /bn_django/git_browse/templates/git_browse/heads_table
parent7adab6520975d9a8650a214ca519f2357707bd65 (diff)
downloadbnewnet-cce589d9b309679c8ea0a9bbed88e0093c1927f0.tar.gz
bnewnet-cce589d9b309679c8ea0a9bbed88e0093c1927f0.zip
more git_browse files
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/heads_table')
-rw-r--r--bn_django/git_browse/templates/git_browse/heads_table23
1 files changed, 23 insertions, 0 deletions
diff --git a/bn_django/git_browse/templates/git_browse/heads_table b/bn_django/git_browse/templates/git_browse/heads_table
new file mode 100644
index 0000000..5840db0
--- /dev/null
+++ b/bn_django/git_browse/templates/git_browse/heads_table
@@ -0,0 +1,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 %}
+