From 0a6d97b2db525f2293dc5276dbf7732243b501c5 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 25 Mar 2004 02:06:08 +0000 Subject: [PATCH] Boolean HTML templating was broken git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2181 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 3 +++ roundup/cgi/templating.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1353736..00e3161 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -5,6 +5,9 @@ are given with the most recent entry first. Feature: - added CSV export to index pages +Fixed: +- Boolean HTML templating was broken + 2004-03-24 0.7.0b1 Major new features: diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index a403481..df604bb 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -1205,7 +1205,7 @@ class BooleanHTMLProperty(HTMLProperty): ''' self.view_check() - if not is_edit_ok(): + if not self.is_edit_ok(): return self.plain() checked = self._value and "checked" or "" -- 2.30.2