From 90da85e8563298a23e860db08db952f9a6b46f2d Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 13 May 2009 05:58:58 +0100 Subject: [svn] revert some of the changes (href element) so that the links work Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8267 by julian @ 3/11/2009 10:44 AM --- expo/views_other.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'expo/views_other.py') diff --git a/expo/views_other.py b/expo/views_other.py index d890a6e..9852ccc 100644 --- a/expo/views_other.py +++ b/expo/views_other.py @@ -29,7 +29,8 @@ def frontpage(request): #'randSent':randSent.randomLogbookSentence(), expeditions = Expedition.objects.order_by("-year") - return render_response(request,'index.html', {'expeditions':expeditions, 'all':'all', "message":message}) + totallogbookentries = LogbookEntry.objects.count() + return render_response(request,'index.html', {'expeditions':expeditions, 'all':'all', 'totallogbookentries':totallogbookentries, "message":message}) def calendar(request,year): week=['S','S','M','T','W','T','F'] -- cgit v1.2.3