root/yapcasia2008-test/actdocs/templates/news/list

Revision 2506 (checked in by kaminogoya, 12 years ago)

added page title header

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