File:  [Repository] / ECHO_content / vlp / subCollection_template.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Dec 5 14:17:59 2005 UTC (18 years, 5 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
changes for vlp

<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 type python: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.getVLPSubcollectionToc(type)">
     <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
     >
     <tal:x condition="not:python:(item.reference==here.getId())">
     <a 
     	tal:condition="python:item.online==1" 
     	tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span 
			tal:replace="python:item.fullreference.decode('latin-1')"/></a>
     <a 
     	tal:condition="not:python:item.online==1" 
     	><span 
			tal:replace="python:item.fullreference.decode('latin-1')"/></a>
			
	</tal:x>
</p>
</tal:block> 

</body>
</html>

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