event_view.txt
event_view.txt
—
Plain Text,
8Kb
Contenu du fichier
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
metal:use-macro="here/main_template/macros/master"
i18n:domain="plone">
<metal:slot fill-slot="css_slot">
<style media="all" type="text/css">
span.link-mailto a{
background:none !important;
padding:0 !important;
margin-left:1px;
}
.link-external a{
background:none !important;
padding: 1px 0 1px 1px !important;
}
.link-event{
margin:0 !important;
}
.event-view b {
color: #68686D;
}
</style>
</metal:slot>
<body>
<div metal:fill-slot="main">
<tal:main-macro metal:define-macro="main">
<div metal:use-macro="here/document_actions/macros/document_actions">
Document actions (print, sendto etc)
</div>
<h1 tal:content="object_title" class="documentFirstHeading summary">
Title or id
</h1>
<div metal:use-macro="here/document_byline/macros/byline">
Get the byline - contains details about author and modification date.
</div>
<span id="parent-fieldname-title" class=" kssattr-atfieldname-title kssattr-templateId-widgets/string kssattr-macro-string-field-view">
<p class="documentDescription description" tal:content="here/Description" tal:condition="here/Description"> Description </p>
</span>
<table class="event-view" width="100%" cellspacing="5" cellpadding="1" border="0" summary="Event details" i18n:attributes="summary summary_event_details;">
<tr>
<td align="right" width="90"><b i18n:translate="event_when">Quand</b></td>
<td>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td width="60%"><p class="link-event">
<tal:differentday tal:condition="python:not here.start().Date() == here.end().Date()">
<span>Du </span>
<span
tal:attributes="title python:here.start()"
tal:content="python:here.toLocalizedTime(here.start(), long_format=1)"> Start Date Time
</span>
<span i18n:translate="event_to">to</span>
<span
tal:attributes="title python:here.end()"
tal:content="python:here.toLocalizedTime(here.end(), long_format=1)"> End Date Time
</span>
</tal:differentday>
<tal:sameday tal:condition="python:here.start().Date() == here.end().Date()"
tal:define="ampm python:site_properties.getProperty('localLongTimeFormat').find('%p') >= 0">
<span tal:replace="python:toLocalizedTime(here.start())"> Start Date Time</span> <!--br /-->
<abbr class="dtstart"
style="display: none;"
tal:attributes="title python:here.start()"
tal:content="python:here.toLocalizedTime(here.start(), long_format=1)"> Start Date Time
</abbr>
<abbr class="dtend"
style="display: none;"
tal:attributes="title python:here.end()"
tal:content="python:here.toLocalizedTime(here.end(),long_format=1)"> End Date Time
</abbr>
<span>de</span>
<span tal:replace="python:here.toLocalizedTime(here.start(), time_only=1)">Start Time</span>
<span>�span>
<span tal:replace="python:here.toLocalizedTime(here.end(), time_only=1)">End Time</span>
</tal:sameday></p>
</td>
</tr>
</table></td>
</tr>
<tr tal:condition="here/location">
<td width="17" align="right" valign="top" ><b i18n:translate="event_where">Lieu</b></td>
<td class="location" tal:content="here/location" valign="top" >Oslo, Norway</td>
</tr>
<tr tal:condition="here/contact_name">
<td width="17" align="right" valign="top"><b i18n:translate="contact_name">Contact</b><b>:</b></td>
<td class="fn" tal:content="here/contact_name" valign="top">John Smith</td>
</tr>
<tr tal:define="contact_email here/contact_email" tal:condition="here/contact_email">
<td width="17" align="right" valign="top" ><b i18n:translate="email">Email</b><b>:</b></td>
<td style="background-image:none; padding:0;" valign="top">
<a tal:replace="structure python: here.spamProtect(contact_email)" />
</td>
</tr>
<tr tal:condition="here/contact_phone">
<td width="17" align="right" valign="top"><b i18n:translate="contact_phone">T�phone</b><b>:</b></td>
<td valign="top" class="tel" tal:content="here/contact_phone">555-GET-PLONE</td>
</tr>
<tr tal:condition="here/event_url|nothing" ><td align="right" valign="top"><b i18n:translate="web_site">Site web</b><b>:</b></td>
<td valign="top">
<span tal:condition="here/event_url|nothing">
<a class="url" href="event_url" target="_blank" tal:attributes="href here/event_url" tal:content="here/event_url">
</a>
</span>
</td>
</tr>
<tr tal:condition="here/getAttendees|nothing">
<td width="17" align="right" valign="top"><b i18n:translate="contact_attendees">Participants</b><b>:</b></td>
<td valign="top" tal:content="python: ', '.join(here.getAttendees())">Person 1, Person 2</td>
</tr>
<!--tr>
<td colspan="2">
<img tal:replace="structure here/icon_export_ical.png" src="" alt="" />
<a href="#" tal:attributes="href string:$here_url/ics_view"
title="Add this item to your iCal calendar"
i18n:attributes="title title_add_to_ical;">
<span>Ajouter �'agenda (iCal)</span></a>
</td>
</tr-->
</table>
<img style="float:right;padding-left:5px;" tal:attributes="src string:$here_url/leadImage_mini" />
<div tal:replace="structure here/getText" />
<!--fieldset style="border:1px solid #68686D;float:left;"--> <!--legend style="color:#68686D; font-size:110%;">Renseignements</legend-->
<!--/fieldset-->
<!--hr style="width:100%;float:left"/-->
<div metal:use-macro="here/document_relateditems/macros/relatedItems"> show related items if they exist </div>
<div class="visualClear" id="clear-space-after-relatedItems"></div>
</tal:main-macro>
</div>
</body>
</html>

