Changeset 460:76bc2317146f in documentViewer for zpt
- Timestamp:
- Jul 20, 2011, 7:36:57 PM (14 years ago)
- Branch:
- elementtree
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/head_main.zpt
r122 r460 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> 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:formattedLabel" tal:content="string:(no bibliographical information for ${docinfo/bib_type})"/> 3 <span tal:condition="formattedLabel" tal:content="structure formattedLabel"/> 6 4 </tal:block>
Note: See TracChangeset
for help on using the changeset viewer.