From 1ffdd4a67a73c6c5e7b1f3d4c6be94b21c9349b5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 12 Oct 2009 22:38:19 -0400 Subject: shortlog instead of 'newitems' --- bn_django/templates/frontpage.html | 4 ++-- bn_django/templates/newcomments_table | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'bn_django') 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:
{% endif %}

Knowledge!

-{% 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 @@ -6,6 +6,8 @@ {% if c.user.username %}{{ c.user.username }} {% else %}{{c.user_name}}{% endif%} + + {{ c.comment|truncatewords:10 }} {{ c.content_type.name }} -- cgit v1.2.3