[Zope-CVS] SVN: zversioning/trunk/src/versioning/demo/ Seperated
edit for contentblocks
Volker Bachschneider
vbachs at dzug.org
Mon Oct 11 05:48:51 EDT 2004
Log message for revision 27947:
Seperated edit for contentblocks
Changed:
U zversioning/trunk/src/versioning/demo/browser/configure.zcml
U zversioning/trunk/src/versioning/demo/browser/info.pt
U zversioning/trunk/src/versioning/demo/interfaces.py
U zversioning/trunk/src/versioning/demo/vproposal.py
-=-
Modified: zversioning/trunk/src/versioning/demo/browser/configure.zcml
===================================================================
--- zversioning/trunk/src/versioning/demo/browser/configure.zcml 2004-10-11 09:42:53 UTC (rev 27946)
+++ zversioning/trunk/src/versioning/demo/browser/configure.zcml 2004-10-11 09:48:51 UTC (rev 27947)
@@ -23,9 +23,10 @@
permission="zope.ManageContent"
/>
+
<browser:editform
schema="..interfaces.IVProposal"
- label="Edit the Proposal"
+ label="Edit Proposal"
name="EditProposal.html"
menu="zmi_views"
title="Edit"
@@ -60,6 +61,42 @@
</browser:editform>
+<browser:editform
+ schema="..interfaces.IVProposal"
+ label="Edit UseCase"
+ name="EditUseCase.html"
+ title="Edit Use Case"
+ fields = "usecase"
+ permission="zope.ManageContent"
+ />
+
+<browser:editform
+ schema="..interfaces.IVProposal"
+ label="Edit Concept"
+ name="EditConcept.html"
+ title="Edit Concept"
+ fields = "concept"
+ permission="zope.ManageContent"
+ />
+
+<browser:editform
+ schema="..interfaces.IVProposal"
+ label="Edit Todo"
+ name="EditTodo.html"
+ title="Edit Todo"
+ fields = "todo"
+ permission="zope.ManageContent"
+ />
+
+<browser:editform
+ schema="..interfaces.IVProposal"
+ label="Edit Issues"
+ name="EditIssues.html"
+ title="Edit Issues"
+ fields = "issues"
+ permission="zope.ManageContent"
+ />
+
<browser:addMenuItem
class="..vproposal.VProposal"
title="Proposal"
Modified: zversioning/trunk/src/versioning/demo/browser/info.pt
===================================================================
--- zversioning/trunk/src/versioning/demo/browser/info.pt 2004-10-11 09:42:53 UTC (rev 27946)
+++ zversioning/trunk/src/versioning/demo/browser/info.pt 2004-10-11 09:48:51 UTC (rev 27947)
@@ -4,27 +4,26 @@
<h1 tal:content="context/title">Versionable Proposal</h1>
- <table>
- <tr><th i18n:translate="">Use Cases</th>
- <td tal:content="structure context/usecase | nothing">
+ <div><h3 i18n:translate="">Use Cases</h3>
+ <div tal:content="structure context/usecase | nothing">
What Situations we will solve
- </td>
- </tr>
- <tr><th i18n:translate="">Concept</th>
- <td tal:content="structure context/concept | nothing">
+ </div><a href="./@@EditUseCase.html" i18n:translate="">Edit</a>
+ </div>
+ <div><h3 i18n:translate="">Concept</h3>
+ <div tal:content="structure context/concept | nothing">
Technical Concept
- </td>
- </tr>
- <tr><th i18n:translate="">Todo</th>
- <td tal:content="structure context/todo | nothing">
+ </div><a href="./@@EditConcept.html" i18n:translate="">Edit</a>
+ </div>
+ <div><h3 i18n:translate="">Todo</h3>
+ <div tal:content="structure context/todo | nothing">
Steps to go
- </td>
- </tr>
- <tr><th i18n:translate="">Issues</th>
- <td tal:content="structure context/issues | nothing">
+ </div><a href="./@@EditTodo.html" i18n:translate="">Edit</a>
+ </div>
+ <div><h3 i18n:translate="">Issues</h3>
+ <div tal:content="structure context/issues | nothing">
Open Issues
- </td>
- </tr>
- </table>
+ </div><a href="./@@EditIssues.html" i18n:translate="">Edit</a>
+ </div>
+
</div></body></html>
\ No newline at end of file
Modified: zversioning/trunk/src/versioning/demo/interfaces.py
===================================================================
--- zversioning/trunk/src/versioning/demo/interfaces.py 2004-10-11 09:42:53 UTC (rev 27946)
+++ zversioning/trunk/src/versioning/demo/interfaces.py 2004-10-11 09:48:51 UTC (rev 27947)
@@ -12,4 +12,4 @@
concept = Text(title=_("Concept"),required=False)
todo = Text(title=_("Todo"),required=False)
issues = Text(title=_("Open Issues"),required=False)
-
\ No newline at end of file
+
\ No newline at end of file
Modified: zversioning/trunk/src/versioning/demo/vproposal.py
===================================================================
--- zversioning/trunk/src/versioning/demo/vproposal.py 2004-10-11 09:42:53 UTC (rev 27946)
+++ zversioning/trunk/src/versioning/demo/vproposal.py 2004-10-11 09:48:51 UTC (rev 27947)
@@ -16,13 +16,15 @@
self.issues = issues
def setTitle(self, title):
- """Set bug title."""
+ """Set proposal title in Dublin Core."""
dc = IZopeDublinCore(self)
dc.title = unicode(title)
def getTitle(self):
- """Get bug title."""
+ """Get proposal title in Dublin Core."""
dc = IZopeDublinCore(self)
return dc.title
title=property(getTitle,setTitle)
+
+
\ No newline at end of file
More information about the Zope-CVS
mailing list