Changeset 122:027134cca83e in documentViewer for zpt/head_main.zpt


Ignore:
Timestamp:
May 25, 2010, 2:36:24 PM (14 years ago)
Author:
casties
Branch:
default
Message:

reverting back to non-metal version for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/head_main.zpt

    r92 r122  
    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 main content area -->
    9   <metal:block metal:define-macro="main">
    10     <div class="page_head">
    11       <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
    12       <tal:block tal:condition="exists:docinfo/author">
    13         <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/><i tal:condition="exists:docinfo/year" tal:content="string:,${docinfo/year}"/>
    14       </tal:block>
    15     </div>
    16   </metal:block>
    17 </body>
    18 </html>
     1<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">
     2  <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
     3  <tal:y tal:condition="exists:docinfo/author">
     4    <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/><i tal:condition="exists:docinfo/year" tal:content="string:,${docinfo/year}"/>
     5  </tal:y>
     6</tal:block>
Note: See TracChangeset for help on using the changeset viewer.