<%! from DateTime import DateTime %> <%inherit file="project-framework" /> <%block name="main">
<% images = object._files('images') inherit = not(getattr(object, 'break-inheritance', 0)) show_publishDate = True show_modifiedDate = True dateformat = getattr(site, 'dateformat', '%Y.%m.%d') timeformat = '%H:%M' event = object datetimeformat = dateformat if event.val('show-time') in (1, '1'): datetimeformat += ' %s' % timeformat startdate = object.formatDate(event.val('start'), dateformat) enddate = object.formatDate(event.val('end'), dateformat) eventdate = startdate if startdate != enddate: if event.val('show-time') in (1, '1'): eventdate += object.formatDate(event.val('start'), ' %H:%M') eventdate += ' - ' + enddate if event.val('show-time') in (1, '1'): eventdate += object.formatDate(event.val('end'), ' %H:%M') else: if event.val('show-time') in (1, '1'): eventdate += object.formatDate(event.val('start'), ' %H:%M') eventdate += object.formatDate(event.val('end'), ' - %H:%M') %>
% if images:
% endif

${ object.val('title') }

${ object.i18n('site-Time') }: ${ eventdate }
${ object.i18n('site-Venue') }: ${ object.val('venue') }
${ object.val('abstract') }
${ object.val('body') }