summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b21ba30)
raw | patch | inline | side by side (parent: b21ba30)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 29 Jul 2001 04:06:42 +0000 (04:06 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 29 Jul 2001 04:06:42 +0000 (04:06 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@125 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history |
index c7075b3150dd3360a848028afdd81c348cc92fa0..f39a72bc80daf69024f5a22d81069c1aed1fa7bf 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
-# $Id: htmltemplate.py,v 1.5 2001-07-28 08:17:09 richard Exp $
+# $Id: htmltemplate.py,v 1.6 2001-07-29 04:06:42 richard Exp $
import os, re, StringIO, urllib, cgi, errno
if propclass.isMultilinkType: value = []
else: value = ''
if propclass.isLinkType:
+ if value is None:
+ return '[not assigned]'
linkcl = self.db.classes[propclass.classname]
k = linkcl.getkey()
# if the linked-to class doesn't have a key property, then try
#
# $Log: not supported by cvs2svn $
+# Revision 1.5 2001/07/28 08:17:09 richard
+# fixed use of stylesheet
+#
# Revision 1.4 2001/07/28 07:59:53 richard
# Replaced errno integers with their module values.
# De-tabbed templatebuilder.py