[Zope3-checkins] CVS: Zope3/src/zope/app/browser/dublincore - edit.pt:1.3 metadataedit.py:1.4
Christian Theune
ct@gocept.com
Thu, 27 Mar 2003 07:52:17 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/dublincore
In directory cvs.zope.org:/tmp/cvs-serv6346/browser/dublincore
Modified Files:
edit.pt metadataedit.py
Log Message:
- Added creator annotations which are set on the ObjectModified and ObjectCreated
events. They list all users that took part on authoring the content.
=== Zope3/src/zope/app/browser/dublincore/edit.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/dublincore/edit.pt:1.2 Wed Dec 25 09:12:31 2002
+++ Zope3/src/zope/app/browser/dublincore/edit.pt Thu Mar 27 07:51:46 2003
@@ -24,9 +24,13 @@
<p>
Created:
<span tal:replace="data/created">2000-01-01 01:01:01</span>
- <br>
+ <br/>
Content Last Modified:
<span tal:replace="data/modified">2000-01-01 01:01:01</span>
+ <br/>
+ <span tal:repeat="creator data/creators">
+ Creator: <span tal:replace="creator">Bart Simpson</span> <br/>
+ </span>
</p>
</form>
=== Zope3/src/zope/app/browser/dublincore/metadataedit.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/dublincore/metadataedit.py:1.3 Mon Dec 30 16:42:19 2002
+++ Zope3/src/zope/app/browser/dublincore/metadataedit.py Thu Mar 27 07:51:46 2003
@@ -44,6 +44,7 @@
'dcdescription': dc.description,
'modified': dc.modified,
'created': dc.created,
+ 'creators': dc.creators
}
__doc__ = MetaDataEdit.__doc__ + __doc__