7
|
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 %] |