Mercurial > hg > documentViewer
comparison zpt/common_template.zpt @ 505:29f2172db368 elementtree
title also for non-bib-tag.
author | casties |
---|---|
date | Fri, 17 Feb 2012 10:46:03 +0100 |
parents | daf36d0fcfee |
children | 551ca1641a5e |
comparison
equal
deleted
inserted
replaced
504:454a42f4c369 | 505:29f2172db368 |
---|---|
10 tal:define="docpath docinfo/textURLPath | nothing; | 10 tal:define="docpath docinfo/textURLPath | nothing; |
11 query here/REQUEST/query | nothing; | 11 query here/REQUEST/query | nothing; |
12 queryType here/REQUEST/queryType | nothing; | 12 queryType here/REQUEST/queryType | nothing; |
13 bib docinfo/bib | nothing; bibType docinfo/bibType | nothing; | 13 bib docinfo/bib | nothing; bibType docinfo/bibType | nothing; |
14 formattedLabel python:here.metadataService.getBibFormattedLabel(bibdata=bib);"> | 14 formattedLabel python:here.metadataService.getBibFormattedLabel(bibdata=bib);"> |
15 <div tal:condition="not:formattedLabel" | 15 <div tal:condition="not:formattedLabel"> |
16 <tal:block tal:condition="python:docinfo['creator'] or docinfo['title']"><i tal:content="docinfo/creator"/>, | |
17 <span tal:content="docinfo/title"/>, <span tal:content="docinfo/date"/> | |
18 </tal:block> | |
19 <span tal:condition="not:python:docinfo['creator'] or docinfo['title']" | |
16 tal:content="string:[no bibliographical information for this document (type ${bibType})]" /> | 20 tal:content="string:[no bibliographical information for this document (type ${bibType})]" /> |
21 </div> | |
17 <div tal:condition="formattedLabel" tal:content="structure formattedLabel" /> | 22 <div tal:condition="formattedLabel" tal:content="structure formattedLabel" /> |
18 <div class="doclinks"> | 23 <div class="doclinks"> |
19 <a tal:attributes="href python:here.getLink('viewMode','index')">Bibliographical information</a> | 24 <a tal:attributes="href python:here.getLink('viewMode','index')">Bibliographical information</a> |
20 </div> | 25 </div> |
21 </metal:block> | 26 </metal:block> |