Mercurial > hg > documentViewer
comparison zpt/viewer_index.zpt @ 502:daf36d0fcfee elementtree
more cleanup.
author | casties |
---|---|
date | Thu, 16 Feb 2012 13:53:27 +0100 |
parents | 29c6d09a506c |
children | 29f2172db368 |
comparison
equal
deleted
inserted
replaced
501:29c6d09a506c | 502:daf36d0fcfee |
---|---|
29 <tal:x condition="python:formattedData"> | 29 <tal:x condition="python:formattedData"> |
30 <!-- wenn es bibinfo in docinfo gibt --> | 30 <!-- wenn es bibinfo in docinfo gibt --> |
31 <tr tal:replace="structure python:formattedData" /> | 31 <tr tal:replace="structure python:formattedData" /> |
32 </tal:x> | 32 </tal:x> |
33 | 33 |
34 <tal:x condition="python:formattedData==None"> | 34 <tal:x condition="not:formattedData"> |
35 <!-- kein template fuer die daten --> | 35 <!-- kein template fuer die daten --> |
36 <tal:x condition="exists:docinfo/bib"> | 36 <tal:x condition="exists:docinfo/bib"> |
37 <tr tal:define="bibinfo docinfo/bib" tal:repeat="bib bibinfo"> | 37 <tr tal:define="bibinfo docinfo/bib" tal:repeat="bib bibinfo"> |
38 <td class="type" tal:content="python:bib.capitalize().replace('_',' ') + ':'" /> | 38 <td class="type" tal:content="python:bib.capitalize().replace('_',' ') + ':'" /> |
39 <td class="content" tal:content="bibinfo/bib" /> | 39 <td class="content" tal:content="bibinfo/bib" /> |
73 <div> | 73 <div> |
74 <a class="openbutton" | 74 <a class="openbutton" |
75 tal:attributes="href python:context.getLink('viewMode','auto')">Access Book</a> | 75 tal:attributes="href python:context.getLink('viewMode','auto')">Access Book</a> |
76 </div> | 76 </div> |
77 <div tal:condition="docpath"> | 77 <div tal:condition="docpath"> |
78 Download: <a | 78 Download as <a |
79 tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s'%(docpath.replace('.xml','.html'))" | 79 tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s'%(docpath.replace('.xml','.html'))" |
80 target="_blank">html</a> / <a | 80 target="_blank">html</a> / <a |
81 tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s'%(docpath)" | 81 tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s'%(docpath)" |
82 target="_blank">xml</a> | 82 target="_blank">xml</a> |
83 </div> | 83 </div> |