diff options
Diffstat (limited to 'bn_django')
-rw-r--r-- | bn_django/templates/frontpage.html | 4 | ||||
-rw-r--r-- | bn_django/templates/newcomments_table | 2 |
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> |