root/yapcasia2008/actdocs/static/current.html

Revision 2716 (checked in by miyagawa, 12 years ago)

update table

Line 
1   <table>
2   [% events = current_events('2008-05-15 14:00:00') %]
3   [% FOREACH period = events.keys.sort %]
4   <tr><th colspan="3">[% period %]</th></tr>
5   <tr>
6   [% FOREACH room = events.$period.keys.sort %]
7   [% IF room == 'Venue' %]
8   <th colspan="3">Venue</th>
9   [% ELSE %]
10   <th>[% global.config.rooms.$room %]</th>
11   [% END %]
12   [% END %]
13   </tr>
14   <tr>
15   [% FOREACH room = events.$period.keys.sort;
16      event = events.$period.$room %]
17   [% IF room == 'Venue' %]
18   <td colspan="3">
19   [% date_format(evet.datetime, 'time') %]
20   <b>[% event.title | html %]</b>
21   <i>([% event.duration %] {{min}})</i>
22   </td>
23   [% ELSE %]
24   <td>[% date_format(evet.datetime, 'time') %]
25   <b>[% event.title | html %]</b>
26   <i>([% event.duration %] {{min}})</i>
27   [% IF global.config.talks_languages %]
28   - [% global.config.talks_languages.${event.lang} %]
29   [% END %]
30   [% IF event.user %]
31   <br />{{by}} [% user_info_base(event.user) %]
32   [% END %]
33   </td>
34   [% END %]
35   [% END # FOREACH room %]
36   </tr>
37   [% END # FOREACH period %]
38   </table>
39  
Note: See TracBrowser for help on using the browser.