annotate view/site/library.tt @ 14:d997ff96acf1

sync
author sergey
date Mon, 19 May 2014 18:34:16 +0400
parents fa7a99c2d079
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
1 [% document.css.push(css.library) %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
2 [% FOREACH coll IN model.resultset('collection').search_rs({}, {order_by = { '-desc' = 'updateDate' }}).all() %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
3 <div class="library-banner">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
4 <a href="[% location.Child(coll.name) %]">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
5 <span class="title block">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
6 $coll.name
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
7 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
8 <span class="brief block">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
9 $coll.description
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
10 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
11 <span class="footer block">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
12 <span class="version">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
13 $coll.version
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
14 </span>/
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
15 <span class="timestamp">
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
16 [% coll.updateDate.clone().set_time_zone('local').strftime('%T %e %B %G') %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
17 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
18 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
19 </a>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
20 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
21 [% END %]