aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/shortlog_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/shortlog_table
parent7adab6520975d9a8650a214ca519f2357707bd65 (diff)
downloadbnewnet-cce589d9b309679c8ea0a9bbed88e0093c1927f0.tar.gz
bnewnet-cce589d9b309679c8ea0a9bbed88e0093c1927f0.zip
more git_browse files
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/shortlog_table')
-rw-r--r--bn_django/git_browse/templates/git_browse/shortlog_table29
1 files changed, 29 insertions, 0 deletions
diff --git a/bn_django/git_browse/templates/git_browse/shortlog_table b/bn_django/git_browse/templates/git_browse/shortlog_table
new file mode 100644
index 0000000..8a223ec
--- /dev/null
+++ b/bn_django/git_browse/templates/git_browse/shortlog_table
@@ -0,0 +1,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 %}