summaryrefslogtreecommitdiffstats
path: root/expo/views_other.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:58:58 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:58:58 +0100
commit90da85e8563298a23e860db08db952f9a6b46f2d (patch)
tree1686e07bdbdcf5468c9fe49d352f02e02221f14a /expo/views_other.py
parente8da6b9b8b0d5390d26832af42550c4e651a82dd (diff)
downloadtroggle-90da85e8563298a23e860db08db952f9a6b46f2d.tar.gz
troggle-90da85e8563298a23e860db08db952f9a6b46f2d.tar.bz2
troggle-90da85e8563298a23e860db08db952f9a6b46f2d.zip
[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
Diffstat (limited to 'expo/views_other.py')
-rw-r--r--expo/views_other.py3
1 files changed, 2 insertions, 1 deletions
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']