Mercurial > pub > site.implab
view view/site/library.tt @ 16:e69c970c3ddd default tip
sync
author | sergey |
---|---|
date | Tue, 20 May 2014 01:28:48 +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 %]