Mercurial > pub > site.implab
view view/site/library.tt @ 14:d997ff96acf1
sync
author | sergey |
---|---|
date | Mon, 19 May 2014 18:34:16 +0400 |
parents | fa7a99c2d079 |
children |
line wrap: on
line source
[% document.css.push(css.library) %] [% FOREACH coll IN model.resultset('collection').search_rs({}, {order_by = { '-desc' = 'updateDate' }}).all() %] <div class="library-banner"> <a href="[% location.Child(coll.name) %]"> <span class="title block"> $coll.name </span> <span class="brief block"> $coll.description </span> <span class="footer block"> <span class="version"> $coll.version </span>/ <span class="timestamp"> [% coll.updateDate.clone().set_time_zone('local').strftime('%T %e %B %G') %] </span> </span> </a> </div> [% END %]