root/yapcasia2008-test/actdocs/templates/core/talk/schedule

Revision 2584 (checked in by kaminogoya, 13 years ago)

icon was set to connected menu.
removed facebook from connected menu.

Line 
1 <h2>{{Schedule}}</h2>
2
3 [% IF not ( global.request.user.is_orga
4          or global.request.user.is_staff
5          or global.config.talks_show_schedule ) %]
6 {{The schedule is not ready to be seen.}}
7 [% ELSE %]
8 [% IF todo.size %]
9
10 <p>{{The time and place of the following talks haven't been decided yet.}}</p>
11
12 <table>
13     <thead>
14         <tr>
15             <th>{{Speaker}}</th>
16             <th>{{Talk title}}</th>
17         [% IF global.config.talks_languages %]<th>{{Language}}</th>[% END %]
18             <th>{{Duration}}</th>
19         </tr>
20     </thead>       
21     <tbody>
22     [% FOREACH t IN todo %]
23         <tr>
24             <td><a href="[% make_uri_info('user', t.user.user_id) %]">[% user_info(t.user) %]</a></td>
25             <td>
26             [% IF t.type == 'Act::Event' %]
27                 [% event_link(t) %]
28                 [% event_modify_link(t) %]
29             [% ELSE %]
30                 [% talk_confirmed_link(t) %]
31                 [% talk_modify_link(t) %]
32             [% END %]
33             </td>
34         [% IF global.config.talks_languages %]
35             <td>[% global.config.talks_languages.${t.lang} %]</td>
36         [% END %]
37             <td>[% t.duration %] {{minutes}}</td>
38         </tr>
39     [% END %]
40     </tbody>
41 </table>
42 [% END %]
43
44 <p>{{Talks in bold type have been confirmed by their respective speakers.}}</p>
45
46 [% FOREACH d IN table.keys.sort %]
47 [% date = d.replace('$', ' 00:00:00' ) %]
48 <div class="section schedule" id="[% d %]">
49     <h3>[% date_format(date, 'date_full') | ucfirst %]</h3>
50     <ul>
51         <li class="ical"><a href="[% make_uri('timetable.ics') %]">{{iCal export}}</a></li>
52     </ul>
53     <table>
54         <thead>
55             <tr>
56                 <th>{{Time}}</th>
57             [% FOREACH r IN room.keys.sort %]
58                 <th colspan="[% width.$r.$d %]">[% global.config.rooms.$r %]</th>
59             [% END %]
60             </tr>
61         </thead>
62         <tbody>
63         [% FOREACH row IN table.$d %]
64             <tr>
65             [% FOREACH col IN row %]
66             [% IF loop.first %]
67                 <th>[% col %]</th>
68             [% ELSE %]
69                 <td [% IF col.height AND col.height > 1 %]rowspan="[% col.height %]"[% END %] [% IF col.room %]class="[% col.room %]"[% IF col.room.match('^(?:out|venue)$') %] colspan="[% maxwidth.$d %]"[% END %][% END %]>[% timeslot(col) %]</td>
70             [% END %]
71             [% END %]
72             </tr>
73         [% END %]
74         </tbody>
75     </table>
76 </div>
77 [% END %]
78 [% END %]
Note: See TracBrowser for help on using the browser.