[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [#76 Cannot edit status fields of issue pages with Pag
From: |
anonymous |
Subject: |
[Axiom-developer] [#76 Cannot edit status fields of issue pages with Page type: Plain text] patch to plaintext.py |
Date: |
Tue, 25 Jan 2005 02:14:51 -0600 |
The following patch adds the IssueForm to pages of type Plain text::
diff --exclude='*.pyc' -Naur test/Products/ZWiki/pagetypes/plaintext.py
main/Products/ZWiki/pagetypes/plaintext.py
--- test/Products/ZWiki/pagetypes/plaintext.py 2004-11-17 14:57:59.000000000
-0600
+++ main/Products/ZWiki/pagetypes/plaintext.py 2005-01-25 01:47:04.000000000
-0600
@@ -18,6 +18,8 @@
def render(self, page, REQUEST={}, RESPONSE=None, **kw):
t = page.preRendered()
+ if page.isIssue() and kw.get('show_issueproperties',1):
+ t = page.addIssueFormTo(t)
t = page.renderMidsectionIn(t,**kw)
t = page.addSkinTo(t,**kw)
return t
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] [#76 Cannot edit status fields of issue pages with Page type: Plain text] patch to plaintext.py,
anonymous <=