Annotation of ECHO_content/vlp/subCollection_template.zpt, revision 1.3
1.1 dwinter 1: <html metal:use-macro="here/main_template/macros/page">
1.2 dwinter 2: <head>
1.1 dwinter 3: <title tal:content="here/title">VL Literature [lit25146 a0001]</title>
4:
5: <!-- SLOT: additional stylesheet -->
1.2 dwinter 6: <style metal:fill-slot="additionalStyles" type="text/css"
7: tal:content="python:'.vario {background-color: ' + here.library.varioColor + ';}'">
8: /* background colors */
9: .vario {background-color: libraryProperty.varioColor;}
1.1 dwinter 10: </style>
1.2 dwinter 11: </head>
12:
13:
14: <body>
15:
16: <tal:block metal:fill-slot="body">
17: <table
18: tal:repeat="header python:here.ZSQLSimpleSearch('
19: SELECT * FROM vl_literature
20: WHERE reference = \'' + here.getId() + '\'')">
1.1 dwinter 21:
1.3 ! dwinter 22: <tr tal:define="global type python:header.referencetype">
! 23: <th class="thead" >
1.2 dwinter 24: <span tal:replace="python:header.shortreference.decode('latin-1')"/>
25: </th>
26: </tr>
27: </table>
28: <p class="TOClist"
1.3 ! dwinter 29: tal:repeat="item python:here.getVLPSubcollectionToc(type)">
1.2 dwinter 30: <a
31: tal:condition="python:here.checkForFrontMatter(item.reference)"
32: tal:attributes="href python:here.vlp_root() + '/library/data/'+item.reference+'/'+item.reference">Table of Contents, Tables, ...</a
1.3 ! dwinter 33: >
! 34: <tal:x condition="not:python:(item.reference==here.getId())">
! 35: <a
! 36: tal:condition="python:item.online==1"
1.2 dwinter 37: tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span
1.3 ! dwinter 38: tal:replace="python:item.fullreference.decode('latin-1')"/></a>
! 39: <a
! 40: tal:condition="not:python:item.online==1"
! 41: ><span
! 42: tal:replace="python:item.fullreference.decode('latin-1')"/></a>
! 43:
! 44: </tal:x>
! 45: </p>
1.1 dwinter 46: </tal:block>
1.2 dwinter 47:
1.1 dwinter 48: </body>
1.2 dwinter 49: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>