Diff for /documentViewer/zpt/head_main.zpt between versions 1.3 and 1.8.2.1

version 1.3, 2006/09/11 14:43:09 version 1.8.2.1, 2011/07/20 19:36:57
Line 1 Line 1
 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">  <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; formattedLabel python:here.metadata.getFormattedLabel(bibdata=docinfo.get('bib',None))">
   <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>    <span tal:condition="not:formattedLabel" tal:content="string:(no bibliographical information for ${docinfo/bib_type})"/>
   <tal:y tal:condition="exists:docinfo/author">    <span tal:condition="formattedLabel" tal:content="structure formattedLabel"/>
     <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/>  
   </tal:y>  
   <tal:x tal:condition="python:viewMode=='text'">  
   <a target="_blank" tal:attributes="href string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}">view image</a>  
   </tal:x>  
 </tal:block>  </tal:block>

Removed from v.1.3  
changed lines
  Added in v.1.8.2.1


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