comparison view/site/library.tt @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents f1ce08199a08
children
comparison
equal deleted inserted replaced
6:2d1a0a75fc49 7:fa7a99c2d079
1 [% document.css.push(css.library) %]
2 [% FOREACH coll IN model.resultset('collection').search_rs({}, {order_by = { '-desc' = 'updateDate' }}).all() %]
3 <div class="library-banner">
4 <a href="[% location.Child(coll.name) %]">
5 <span class="title block">
6 $coll.name
7 </span>
8 <span class="brief block">
9 $coll.description
10 </span>
11 <span class="footer block">
12 <span class="version">
13 $coll.version
14 </span>/
15 <span class="timestamp">
16 [% coll.updateDate.clone().set_time_zone('local').strftime('%T %e %B %G') %]
17 </span>
18 </span>
19 </a>
20 </div>
21 [% END %]