Mercurial > p > roundup > code
diff roundup/htmltemplate.py @ 638:21b3cfa7d99a
... and label, width and height control for extra flavour!
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Feb 2002 07:19:08 +0000 |
| parents | 3d61b5d2243e |
| children | 2f3e82a69eb5 |
line wrap: on
line diff
--- a/roundup/htmltemplate.py Thu Feb 21 07:08:19 2002 +0000 +++ b/roundup/htmltemplate.py Thu Feb 21 07:19:08 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.79 2002-02-21 06:57:38 richard Exp $ +# $Id: htmltemplate.py,v 1.80 2002-02-21 07:19:08 richard Exp $ __doc__ = """ Template engine. @@ -659,7 +659,8 @@ '''pop up a javascript window with class help ''' return '<a href="javascript:help_window(\'classhelp?classname=%s&' \ - 'properties=%s\')"><b>(?)</b></a>'%(classname, properties) + 'properties=%s\', \'%s\', \'%s\')"><b>(%s)</b></a>'%(classname, + properties, width, height, label) # # INDEX TEMPLATES # @@ -1081,6 +1082,14 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.79 2002/02/21 06:57:38 richard +# . Added popup help for classes using the classhelp html template function. +# - add <display call="classhelp('priority', 'id,name,description')"> +# to an item page, and it generates a link to a popup window which displays +# the id, name and description for the priority class. The description +# field won't exist in most installations, but it will be added to the +# default templates. +# # Revision 1.78 2002/02/21 06:23:00 richard # *** empty log message *** #
