root/yapcasia2008/actdocs/templates/news/list

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

date format

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