aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-10-12 22:38:19 -0400
committerbnewbold <bnewbold@ziggy.(none)>2009-10-12 22:38:19 -0400
commit1ffdd4a67a73c6c5e7b1f3d4c6be94b21c9349b5 (patch)
treee16b89334a7642c4fb5b8662ca85931122e59d81 /bn_django
parent6180431e826988eb58a17b6299c136543e02b7ff (diff)
downloadbnewnet-1ffdd4a67a73c6c5e7b1f3d4c6be94b21c9349b5.tar.gz
bnewnet-1ffdd4a67a73c6c5e7b1f3d4c6be94b21c9349b5.zip
shortlog instead of 'newitems'
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/templates/frontpage.html4
-rw-r--r--bn_django/templates/newcomments_table2
2 files changed, 4 insertions, 2 deletions
diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html
index 17f9aac..ebeb344 100644
--- a/bn_django/templates/frontpage.html
+++ b/bn_django/templates/frontpage.html
@@ -50,8 +50,8 @@ Other sites: <br />
{% endif %}
<h2 class="ruled">Knowledge!</h2>
-{% if newitems %}
-{% include "git_wiki/newitems_table" %}
+{% if shortlog %}
+{% include "git_wiki/shortlog_table" %}
{% else %}
None yet!
{% endif %}
diff --git a/bn_django/templates/newcomments_table b/bn_django/templates/newcomments_table
index 2349dd0..c01863d 100644
--- a/bn_django/templates/newcomments_table
+++ b/bn_django/templates/newcomments_table
@@ -7,6 +7,8 @@
{% if c.user.username %}{{ c.user.username }}
{% else %}{{c.user_name}}{% endif%} </td>
<td class="description">
+ {{ c.comment|truncatewords:10 }}
+ <td class="description">
<a href="{{c.get_content_object_url}}">
{{ c.content_type.name }}</a></td>
</tr>