[Zope3-checkins] CVS: zopeproducts/demo/jobboard - interfaces.py:1.2 jobview.pt:1.2

sree sree at mahiti.org
Wed Dec 17 01:25:17 EST 2003


Update of /cvs-repository/zopeproducts/demo/jobboard
In directory cvs.zope.org:/tmp/cvs-serv24802

Modified Files:
	interfaces.py jobview.pt 
Log Message:
Modificatons to job.view.pt


=== zopeproducts/demo/jobboard/interfaces.py 1.1 => 1.2 ===
--- zopeproducts/demo/jobboard/interfaces.py:1.1	Tue Dec 16 04:40:48 2003
+++ zopeproducts/demo/jobboard/interfaces.py	Wed Dec 17 01:25:17 2003
@@ -23,7 +23,7 @@
     salary = Attribute("salary",
                        "Salary range offered for the job.")
 
-    startdate = Attribute("start date",
+    startdate = Attribute("startdate",
                           "Job start date")
 
     def approve():
@@ -69,4 +69,4 @@
         """Removes the Job object with the given id from the list.
 
         Raises KeyError if the jobid is not in the list.
-        """
\ No newline at end of file
+        """


=== zopeproducts/demo/jobboard/jobview.pt 1.1 => 1.2 ===
--- zopeproducts/demo/jobboard/jobview.pt:1.1	Tue Dec 16 07:38:32 2003
+++ zopeproducts/demo/jobboard/jobview.pt	Wed Dec 17 01:25:17 2003
@@ -23,7 +23,8 @@
       <td tal:content="context/salary"></td>
   </tr>
   <tr><td i18n:translate="startdate">Start date:</td>
-      <td tal:content="python: request.locale.getDateFormatter('full').format(context.startdate)"></td>
+      <td><span tal:omit-tag=""  tal:condition="exists: context/startdate" 
+tal:content="context/startdate"/></td>
   </tr>
 
   </table>




More information about the Zope3-Checkins mailing list