File:  [Repository] / documentViewer / zpt / head_main.zpt
Revision 1.8.2.2: download - view: text, annotated - select for diffs - revision graph
Mon Aug 15 19:09:08 2011 UTC (12 years, 10 months ago) by casties
Branches: elementtree
Diff to: branchpoint 1.8: preferred, unified
more new template stuff

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3: <html xmlns="http://www.w3.org/1999/xhtml">
    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>

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