root/yapcasia2008/actdocs/templates/talk/show

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

expand nicovideo

Line 
1 [% WRAPPER ui title = title %]
2
3 <ul>
4     <li>{{By}} [% user_info(user) %][% IF global.request.user.is_orga || global.request.user.user_id == user_id %] <span class="memo">(<a href="[% make_uri('edittalk', 'talk_id', talk_id) %]">{{edit}}</a>)</span>[% END %]</li>
5 [% IF user.pm_group %]
6   <li>{{from}}
7   [% IF user.pm_group_url %]
8     <a href="[% user.pm_group_url %]">[% user.pm_group %]</a>
9   [% ELSE %]
10     [% user.pm_group %]
11   [% END %]
12   </li>
13 [% END %]
14 [% IF lightning %]
15   <li>{{Lightning talk}}</li>
16 [% ELSE %]
17   <li>{{Date:}}
18   [% IF datetime && ( global.config.talks_show_schedule || global.request.user.is_orga ); date_format(datetime, 'datetime_full') ; ELSE %]
19   {{Not scheduled yet.}}</li>
20 [% END %]
21   <li>{{Duration:}} [% duration %]{{minutes}}</li>
22 [% END %]
23 [% IF global.config.talks_levels %]
24   <li>{{Target audience:}}[% level %]</li>
25 [% END %]
26 [% IF global.config.talks_languages %]
27   <li>{{Language:}}[% global.config.talks_languages.$lang %]</li>
28 [% END %]
29 [% IF ( global.request.user.is_orga || global.request.user.user_id == user_id)
30       AND comment %]
31   <li>{{Comment:}}[% comment %]</li>
32 [% END %]
33 [% IF url_talk %]
34 <li><t><en>Slides</en><ja>スライド</ja></t>: <a href="[% url_talk | html %]">[% url_talk | html %]</a></li>
35 [% END %]
36 [% IF url_abstract %]
37 <li>Google Video: <a href="[% url_abstract | html %]">[% url_abstract | html %]</a></li>
38 [% END %]
39 [% showtags(tags, 'talks') %]
40 </ul>
41
42 <hr />
43
44 <p>
45 [% SET abs = expand(chunked_abstract) | html_line_break;
46    abs = abs.replace('nico:(\d+)', '<script type="text/javascript" src="http://www.nicovideo.jp/thumb_watch/$1"></script>');
47    abs;
48   %]
49
50 </p>
51 [% END %]
Note: See TracBrowser for help on using the browser.