Changeset 562:60f5a636bc57 in documentViewer for zpt/viewer_index.zpt
- Timestamp:
- Oct 2, 2012, 1:22:11 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer_index.zpt
r560 r562 46 46 <a tal:define="tp docinfo/titlePage | string:1" 47 47 tal:attributes="href python:context.getLink(params={'viewMode':'auto','pn':tp})"><img tal:condition="tp" border="0" 48 tal:attributes="src string:${docinfo/imageURL}&pn=$tp&dw=300&dh=500" /><img49 tal:condition="python:not tpand exists('here/template/book.png')" border="0" src="template/book.png" /></a>48 tal:attributes="src python:'%s&pn=%s&dw=300&dh=500'%(docinfo.get('imageURL',None),tp)" /><img 49 tal:condition="python:not docinfo.get('titlePage',None) and exists('here/template/book.png')" border="0" src="template/book.png" /></a> 50 50 </div> 51 51 … … 119 119 History of Science</a> (unless stated otherwise)</td> 120 120 </tr> 121 <tr >121 <tr tal:define="accType python:docinfo.get('accessType', None)"> 122 122 <td class="type">License:</td> 123 <td tal:condition="python: docinfo.get('accessType', None)== 'free'" class="content"><a target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/de/">CC-BY-SA</a>123 <td tal:condition="python:accType == 'free'" class="content"><a target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/de/">CC-BY-SA</a> 124 124 (unless stated otherwise)</td> 125 <td tal:condition="python:docinfo.get('accessType', None) != 'free'" class="content">Internal use only, please contact <a href="mailto:library@mpiwg-berlin.mpg.de">library@mpiwg-berlin.mpg.de</a> 125 <td tal:condition="python:accType != 'free'" class="content">Internal use only<span tal:condition="accType" tal:content="string: ($accType)"/>, 126 please contact <a href="mailto:library@mpiwg-berlin.mpg.de">library@mpiwg-berlin.mpg.de</a> 126 127 (unless stated otherwise)</td> 127 128 </tr>
Note: See TracChangeset
for help on using the changeset viewer.