[Zope3-checkins] CVS: Zope3/src/zope/app/browser/dublincore - box.pt:1.2

Sidnei da Silva sidnei@x3ng.com.br
Wed, 5 Mar 2003 17:28:45 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/dublincore
In directory cvs.zope.org:/tmp/cvs-serv21937

Modified Files:
	box.pt 
Log Message:
small zpt cleaning

=== Zope3/src/zope/app/browser/dublincore/box.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/dublincore/box.pt:1.1	Mon Dec 30 16:41:44 2002
+++ Zope3/src/zope/app/browser/dublincore/box.pt	Wed Mar  5 17:28:43 2003
@@ -1,10 +1,23 @@
-<tal:block define = "data view/edit">
-<div tal:condition="data/dctitle"><span class="label">Title:</span> <span tal:replace="data/dctitle" /></div>
+<tal:block define="data view/edit"
+           condition="data">
+
+   <div tal:condition="data/dctitle">
+     <span class="label">Title:</span> <span tal:replace="data/dctitle" />
+   </div>
              
-      <div tal:condition="data/dcdescription"><span class="label">Description:</span> <span tal:replace="data/dcdescription" /></div>
+   <div tal:condition="data/dcdescription">
+      <span class="label">Description:</span> <span tal:replace="data/dcdescription" />
+   </div>
+   <div tal:condition="data/created">
       <!-- XXX TODO localize time format -->     
-      <div tal:condition="data/created"><span class="label">Created:</span> <span tal:replace="python: data['created'].strftime('%m/%d/%Y')">2000-01-01 01:01:01</span></div>
+      <span class="label">Created:</span>
+      <span tal:replace="python: data['created'].strftime('%m/%d/%Y')">2000-01-01 01:01:01</span>
+   </div>
           
-      <div tal:condition="data/modified"><span class="label">Modified:</span> <span tal:replace="python: data['modified'].strftime('%m/%d/%Y')">2000-01-01 01:01:01</span></div>
-      </tal:block>
+   <div tal:condition="data/modified">
+      <span class="label">Modified:</span>
+      <span tal:replace="python: data['modified'].strftime('%m/%d/%Y')">2000-01-01 01:01:01</span>
+   </div>
+
+</tal:block>