Annotation of documentViewer/zpt/head_main.zpt, revision 1.3

1.3     ! dwinter     1: <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">
1.2       casties     2:   <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
1.1       casties     3:   <tal:y tal:condition="exists:docinfo/author">
                      4:     <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/>
                      5:   </tal:y>
1.3     ! dwinter     6:   <tal:x tal:condition="python:viewMode=='text'">
        !             7:   <a target="_blank" tal:attributes="href string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}">view image</a>
        !             8:   </tal:x>
1.1       casties     9: </tal:block>

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