File:  [Repository] / ECHO_content / vlp / subCollection_template.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Mar 10 15:48:00 2005 UTC (19 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
changes for front matter II

<html metal:use-macro="here/main_template/macros/page">
<head>
	<title tal:content="here/title">VL Literature [lit25146 a0001]</title>
	
    <!-- SLOT: additional stylesheet -->
	<style metal:fill-slot="additionalStyles" type="text/css"
		tal:content="python:'.vario {background-color: ' + here.library.varioColor + ';}'">
		/* background colors */
		.vario {background-color: libraryProperty.varioColor;}
	</style>
</head>


<body>

<tal:block metal:fill-slot="body">

<table 
  	tal:repeat="header python:here.ZSQLSimpleSearch('
  		SELECT * FROM vl_literature 
  		WHERE reference = \'' + here.getId() + '\'')">

	<tr
		tal:define="global sort python:here.collectionSort(header.referencetype)">
		<th class="thead">
			<span tal:replace="python:header.shortreference.decode('latin-1')"/> 
		</th>
	</tr>
</table>

<p class="TOClist" 
	tal:repeat="item python:here.ZSQLSimpleSearch('
		SELECT * FROM vl_literature 
		WHERE volumeid = \'' + here.getId() + '\'
			AND online = 1
		ORDER BY ' + sort)">
     <a 
     	tal:condition="python:here.checkForFrontMatter(item.reference)"
     	tal:attributes="href python:here.vlp_root() + '/library/data/'+item.reference+'/'+item.reference">Table of Contents, Tables, ...</a
     ><a 
     	tal:condition="not:python:item.reference==here.getId()" 
     	tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span 
			tal:replace="python:item.fullreference.decode('latin-1')"/></a></p>
</tal:block> 

</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>