Mercurial > hg > documentViewer
comparison zpt/head_main.zpt @ 460:76bc2317146f elementtree
more renovation
author | casties |
---|---|
date | Wed, 20 Jul 2011 21:36:57 +0200 |
parents | 027134cca83e |
children | 50a28442f21c |
comparison
equal
deleted
inserted
replaced
459:aabfa6124cfb | 460:76bc2317146f |
---|---|
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; formattedLabel python:here.metadata.getFormattedLabel(bibdata=docinfo.get('bib',None))"> |
2 <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span> | 2 <span tal:condition="not:formattedLabel" tal:content="string:(no bibliographical information for ${docinfo/bib_type})"/> |
3 <tal:y tal:condition="exists:docinfo/author"> | 3 <span tal:condition="formattedLabel" tal:content="structure formattedLabel"/> |
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> | 4 </tal:block> |