Mercurial > hg > documentViewer
comparison zpt/head_main.zpt @ 480:50a28442f21c elementtree
more new template stuff
author | casties |
---|---|
date | Mon, 15 Aug 2011 21:09:08 +0200 |
parents | 76bc2317146f |
children | 55e3398e395e |
comparison
equal
deleted
inserted
replaced
479:fe5b0e4ac5f2 | 480:50a28442f21c |
---|---|
1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; formattedLabel python:here.metadata.getFormattedLabel(bibdata=docinfo.get('bib',None))"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 <span tal:condition="not:formattedLabel" tal:content="string:(no bibliographical information for ${docinfo/bib_type})"/> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 <span tal:condition="formattedLabel" tal:content="structure formattedLabel"/> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 </tal:block> | 4 <head> |
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
6 </head> | |
7 <body> | |
8 <!-- block used for page header content area --> | |
9 <metal:block metal:define-macro="main" | |
10 tal:define="docpath docinfo/textURLPath | nothing; | |
11 query here/REQUEST/query | nothing; | |
12 queryType here/REQUEST/queryType | nothing; | |
13 bib docinfo/bib | nothing; bibType docinfo/bibType | nothing; | |
14 formattedLabel python:here.metadataService.getBibFormattedLabel(bibdata=bib);"> | |
15 <span tal:condition="not:formattedLabel" | |
16 tal:content="string:(no bibliographical information for ${bibType})" /> | |
17 <span tal:condition="formattedLabel" tal:content="structure formattedLabel" /> | |
18 </metal:block> | |
19 </body> | |
20 </html> |