[Zope3-checkins] CVS: Zope3/src/zope/app/browser/dublincore - box.pt:1.1 configure.zcml:1.3

Godefroid Chapelle gotcha@swing.be
Mon, 30 Dec 2002 16:41:44 -0500


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

Modified Files:
	configure.zcml 
Added Files:
	box.pt 
Log Message:
create metadata box view


=== Added File Zope3/src/zope/app/browser/dublincore/box.pt ===
<tal:block define = "data view/edit">
<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>
      <!-- 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>
          
      <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>



=== Zope3/src/zope/app/browser/dublincore/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/dublincore/configure.zcml:1.2	Wed Dec 25 09:12:31 2002
+++ Zope3/src/zope/app/browser/dublincore/configure.zcml	Mon Dec 30 16:41:44 2002
@@ -11,6 +11,9 @@
     <browser:page name="EditMetaData.html"
                   template="edit.pt" />
 
+    <browser:page name="MetaDataBox"
+                  template="box.pt" />
+
     </browser:view>