[Zope-CVS] SVN: zversioning/trunk/src/versioning/demo/ beautified form

Volker Bachschneider vbachs at dzug.org
Sun Oct 10 11:17:42 EDT 2004


Log message for revision 27915:
  beautified form
  


Changed:
  U   zversioning/trunk/src/versioning/demo/browser/info.pt
  U   zversioning/trunk/src/versioning/demo/interfaces.py


-=-
Modified: zversioning/trunk/src/versioning/demo/browser/info.pt
===================================================================
--- zversioning/trunk/src/versioning/demo/browser/info.pt	2004-10-10 15:04:58 UTC (rev 27914)
+++ zversioning/trunk/src/versioning/demo/browser/info.pt	2004-10-10 15:17:42 UTC (rev 27915)
@@ -1,22 +1,30 @@
 <html metal:use-macro="context/@@standard_macros/view"
       i18n:domain="buddydemo">
 <body><div metal:fill-slot="body">
-<h1>Proposal</h1>
-<!-- * -->
+
+  <h1 tal:content="context/title">Versionable Proposal</h1>
+
   <table>
-    <caption tal:content="context/title">Versionable Proposal</caption>
     <tr><th i18n:translate="">Use Cases</th>
-        <td tal:content="context/usecase">What Situations we will solve</td>
+        <td tal:content="structure context/usecase | nothing">
+           What Situations we will solve
+        </td>
         </tr>
     <tr><th i18n:translate="">Concept</th>
-        <td tal:content="context/concept | nothing">Technical Concept</td>
+        <td tal:content="structure context/concept | nothing">
+           Technical Concept
+        </td>
         </tr>
     <tr><th i18n:translate="">Todo</th>
-        <td tal:content="context/todo | nothing">Steps to go</td>
+        <td tal:content="structure context/todo | nothing">
+           Steps to go
+        </td>
         </tr>
     <tr><th i18n:translate="">Issues</th>
-        <td tal:content="context/issues | nothing">Open Issues</td>
+        <td tal:content="structure context/issues | nothing">
+           Open Issues
+        </td>
         </tr>
   </table>
-<!-- * -->
+
 </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-10 15:04:58 UTC (rev 27914)
+++ zversioning/trunk/src/versioning/demo/interfaces.py	2004-10-10 15:17:42 UTC (rev 27915)
@@ -9,7 +9,7 @@
     
     title = TextLine(title=_("Title"))
     usecase = Text(title=_("Use Case"))
-    concept = Text(title=_("Concept"))
-    todo = Text(title=_("Todo"))
-    issues = Text(title=_("Open Issues"))
+    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



More information about the Zope-CVS mailing list