root/yapcasia2008/actdocs/templates/news/list

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

merged test to prod

Line 
1 [% WRAPPER ui title = loc("News") %]
2 [% IF news.size %]
3 [% FOREACH n = news %]
4 <div class="section">
5      <h2 class="entry-title">[% n.title %]</h2>
6      <ul class="meta">
7          <li>[% date_format(n.datetime, 'datetime_full') %]</li>
8          <li>{{by}} [% user_info(n.user) %]</li>
9      </ul>
10      [% texts.${loop.index} %]
11 </div>
12 [% END %]
13 [% ELSE %]
14 <p>{{No news yet!}}</p>
15 [% END %]
16 [% END %]
Note: See TracBrowser for help on using the browser.