--- a/web/views/baseviews.py Tue Apr 21 12:08:31 2009 +0200
+++ b/web/views/baseviews.py Wed Apr 22 12:19:44 2009 +0200
@@ -734,13 +734,13 @@
def render_entity_creator(self, entity):
if entity.creator:
- self._marker('dc:creator', entity.creator.name())
email = entity.creator.get_email()
if email:
- self.w(u'<author>')
- self.w(email)
- self.w(u'</author>')
-
+ self._marker('author', email + ' (%s)' % entity.creator.name())
+ else:
+ self._marker('dc:creator', entity.creator.name())
+
+
def _marker(self, marker, value):
if value:
self.w(u' <%s>%s</%s>\n' % (marker, html_escape(value), marker))