annotate zpt/head_main.zpt @ 489:55e3398e395e elementtree

more new templates. monkey-patch for App.ImageFile.
author casties
date Thu, 25 Aug 2011 17:05:22 +0200
parents 50a28442f21c
children
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);">
489
55e3398e395e more new templates. monkey-patch for App.ImageFile.
casties
parents: 480
diff changeset
15 <div tal:condition="not:formattedLabel"
480
50a28442f21c more new template stuff
casties
parents: 460
diff changeset
16 tal:content="string:(no bibliographical information for ${bibType})" />
489
55e3398e395e more new templates. monkey-patch for App.ImageFile.
casties
parents: 480
diff changeset
17 <div tal:condition="formattedLabel" tal:content="structure formattedLabel" />
480
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>