annotate zpt/head_main.zpt @ 482:7ca8ac7db06e elementtree

more new template stuff. more batching methods in documentViewer.
author casties
date Tue, 16 Aug 2011 18:27:08 +0200
parents 50a28442f21c
children 55e3398e395e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
480
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml">
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
4 <head>
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
6 </head>
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
7 <body>
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
8 <!-- block used for page header content area -->
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
9 <metal:block metal:define-macro="main"
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
10 tal:define="docpath docinfo/textURLPath | nothing;
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
11 query here/REQUEST/query | nothing;
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
12 queryType here/REQUEST/queryType | nothing;
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
13 bib docinfo/bib | nothing; bibType docinfo/bibType | nothing;
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
14 formattedLabel python:here.metadataService.getBibFormattedLabel(bibdata=bib);">
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
15 <span tal:condition="not:formattedLabel"
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
16 tal:content="string:(no bibliographical information for ${bibType})" />
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
17 <span tal:condition="formattedLabel" tal:content="structure formattedLabel" />
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
18 </metal:block>
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
19 </body>
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
20 </html>