okay, new approach based on feedback from the cabal
[gitmo/moose-website.git] / lib / Moose / Website / Resource / Templates / presentations.tt
1 [% WRAPPER 'wrapper/root.tt' %]
2
3     <p>[% loc('presentations body') %]</p>
4     <p>
5         <ul class="presentations">
6         [% FOREACH item IN current_page.data %]
7             <li class="year">
8                 [% loc(item.year) %]
9                 <ul>
10                     [% FOREACH presentation IN item.presentations %]
11                         <li class="presentation">
12                             <a href="[% presentation.url %]">[% presentation.title %]</a>
13                             [% IF presentation.video   %] (<a href="[% presentation.video %]">video</a>)[% END %]
14                             [% IF presentation.podcast %] (<a href="[% presentation.podcast %]">podcast</a>)[% END %]
15                         </li>
16                     [% END %]
17                 </ul>
18             </li>
19         [% END %]
20         </ul>
21     </p>
22
23 [% END %]