Changeset 539:37d122560028 in documentViewer for zpt/viewer_index.zpt
- Timestamp:
- Aug 15, 2012, 2:59:45 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer_index.zpt
r538 r539 31 31 <div class="col"> 32 32 <div class="index-info"> 33 <h2>Bibliographical information</h2> 33 34 <table border="0" 34 35 tal:define="formattedData python:here.metadata.getBibFormattedMetaDataExtended(bibdata=docinfo.get('bib', None))"> … … 66 67 </table> 67 68 68 <table tal:define="dri docinfo/DRI | nothing" tal:condition="dri"> 69 <tal:block tal:define="dri docinfo/DRI | nothing" tal:condition="dri"> 70 <h2>Permanent URL</h2> 71 <table> 69 72 <tr> 70 73 <td class="type">Document ID:</td> … … 77 80 </tr> 78 81 </table> 82 </tal:block> 79 83 80 <table border="0"> 84 <tal:block tal:define="attribution docinfo/attribution | nothing; copyright docinfo/copyright | nothing"> 85 <h2>Copyright information</h2> 86 <table border="0" tal:condition="attribution | copyright"> 81 87 <!-- attribution --> 82 <tr tal:condition=" exists:docinfo/attribution"83 tal:replace="structure python:here.metadataService.getAttributionFormatted('metadata_template', data= docinfo['attribution'])" />88 <tr tal:condition="attribution" 89 tal:replace="structure python:here.metadataService.getAttributionFormatted('metadata_template', data=attribution)" /> 84 90 <!-- copyright --> 85 <tr tal:condition=" exists:docinfo/copyright"86 tal:replace="structure python:here.metadataService.getCopyrightFormatted('metadata_template', data= docinfo['copyright'])" />91 <tr tal:condition="copyright" 92 tal:replace="structure python:here.metadataService.getCopyrightFormatted('metadata_template', data=copyright)" /> 87 93 </table> 94 <table border="0" tal:condition="not:attribution | copyright"> 95 <tr><td></td></tr> 96 </table> 97 </tal:block> 88 98 </div> 89 99
Note: See TracChangeset
for help on using the changeset viewer.