From: richard Date: Wed, 15 May 2002 06:34:47 +0000 (+0000) Subject: forgot to fix the templating for last change X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1941cfdb27feaa4e680a155d978b7cbe102a0dc5;p=roundup.git forgot to fix the templating for last change git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@734 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index e04cb86..2f6557a 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.88 2002-04-24 08:34:35 rochecompaan Exp $ +# $Id: htmltemplate.py,v 1.89 2002-05-15 06:34:47 richard Exp $ __doc__ = """ Template engine. @@ -434,10 +434,7 @@ class TemplateFunctions: if pretty: if not self.nodeid: return _('now') - pretty = interval.pretty() - if pretty is None: - pretty = value.pretty() - return pretty + return interval.pretty() return str(interval) def do_download(self, property, **args): @@ -1127,6 +1124,12 @@ class NewItemTemplate(TemplateFunctions): # # $Log: not supported by cvs2svn $ +# Revision 1.88 2002/04/24 08:34:35 rochecompaan +# Sorting was applied to all nodes of the MultiLink class instead of +# the nodes that are actually linked to in the "field" template +# function. This adds about 20+ seconds in the display of an issue if +# your database has a 1000 or more issue in it. +# # Revision 1.87 2002/04/03 06:12:46 richard # Fix for date properties as labels. #