Solr doit tout retourner (pour l'instant).
[Plinn.git] / skins / custom_content / event_view.pt
1 <html metal:use-macro="container/main_template_view/macros/master">
2 <head>
3 <title>event view</title>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
5 </head>
6
7 <body>
8 <div metal:fill-slot="main" i18n:domain="plinn">
9 <table class="FormLayout">
10 <tr>
11 <th i18n:translate="" nowrap="nowrap">Event Name</th>
12 <td nowrap="nowrap" tal:content="here/Title">Title</td>
13 <th nowrap="nowrap" i18n:translate="">Contact Name</th>
14 <td nowrap="nowrap" tal:content="here/contact_name">contact_name</td>
15 </tr>
16 <tr>
17 <th nowrap="nowrap" i18n:translate="">Location</th>
18 <td nowrap="nowrap" tal:content="here/location">location</td>
19 <th nowrap="nowrap" i18n:translate="">Contact Email</th>
20 <td nowrap="nowrap" tal:condition="here/contact_email">
21 <a tal:attributes="href python:'mailto:' + here.contact_email"
22 tal:content="here/contact_email"
23 href="mailto:contact_email">contact_email</a>
24 </td>
25 </tr>
26 <tr>
27 <th nowrap="nowrap" i18n:translate="">Event type</th>
28 <td valign="top" nowrap="nowrap"><span tal:repeat="s here/Subject" tal:omit-tag=""><span tal:content="s" i18n:translate="" tal:omit-tag="">subject</span><span tal:condition="not:repeat/s/end" tal:omit-tag="">, </span></span></td>
29 <th nowrap="nowrap" i18n:translate="">Contact Phone</th>
30 <td nowrap="nowrap" tal:content="here/contact_phone">contact_phone</td>
31 </tr>
32 <tr tal:condition="here/event_url|nothing">
33 <th nowrap="nowrap" i18n:translate="">Event URL</th>
34 <td colspan="3" nowrap="nowrap"><a href="event_url"
35 tal:attributes="href here/event_url"
36 tal:content="here/event_url">event_url</a></td>
37 </tr>
38 <tr>
39 <td colspan="4">
40 <hr>
41 </td>
42 </tr>
43 <tr>
44 <th nowrap="nowrap" i18n:translate="">Start Date</th>
45 <td tal:content="python:here.start().strftime(locale_date_fmt)">
46 start
47 </td>
48
49 <th nowrap="nowrap" i18n:translate=""> Stop Date </th>
50 <td tal:content="python:here.end().strftime(locale_date_fmt)">
51 end
52 </td>
53 </tr>
54 <tr>
55 <td colspan="4"><hr></td></tr>
56 <tr>
57 <th i18n:translate="">Description</th>
58 <td colspan="3"
59 tal:content="here/Description">Description</td>
60 </tr>
61 <tr>
62 <td colspan="4">&nbsp;</td>
63 </tr>
64 </table>
65
66 </div>
67 </body>
68
69 </html>