Mercurial > hg > documentViewer
comparison zpt/head_main.zpt @ 69:3b3c7cadd013
head_main works without year
author | casties |
---|---|
date | Tue, 22 Jul 2008 16:33:27 +0200 |
parents | f4e0af8c281d |
children | 4938ce551ae8 |
comparison
equal
deleted
inserted
replaced
68:b8457fc33446 | 69:3b3c7cadd013 |
---|---|
1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')"> | 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> | 2 <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span> |
3 <tal:y tal:condition="exists:docinfo/author"> | 3 <tal:y tal:condition="exists:docinfo/author"> |
4 <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/> | 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> | 5 </tal:y> |
6 <tal:x tal:condition="python:viewMode=='text'"> | 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> | 7 <a target="_blank" tal:attributes="href string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}">view image</a> |
8 <a target="_blank" tal:attributes="href string:${here/textViewerUrl}/getPage?fn=${docinfo/imagePath}&_pn=${pageinfo/current}">show xml</a> | 8 <a target="_blank" tal:attributes="href string:${here/textViewerUrl}/getPage?fn=${docinfo/imagePath}&_pn=${pageinfo/current}">show xml</a> |
9 </tal:x> | 9 </tal:x> |