Changeset 534:9009cf0b0532 in documentViewer for zpt
- Timestamp:
- Jul 25, 2012, 7:52:08 PM (12 years ago)
- Branch:
- default
- Location:
- zpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/common_template.zpt
r532 r534 59 59 tal:condition="python:originalPage!=None"> (<span tal:replace="originalPage" /><span 60 60 tal:define="originalPageNorm pageinfo/pageNumberOrigNorm | nothing" tal:condition="python:originalPageNorm!=None"> 61 [<span tal:replace="originalPageNorm" />] 62 </span>) 61 [<span tal:replace="originalPageNorm" />]</span>) 63 62 </span> <input type="submit" value="Go" /> of <span tal:replace="numPages" /> <a tal:condition="right" 64 63 tal:attributes="href python:here.getLink('pn',right)">></a> <span tal:condition="not:right">></span> <a -
zpt/toc_thumbs.zpt
r532 r534 29 29 tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic'); 30 30 alt idx" /><br /> 31 <span t itle="Scan number" tal:content="idx" /> <span31 <span tal:attributes="title string:Scan number $idx" tal:content="idx" /> <span 32 32 tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']" 33 t itle="Original page number" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" />33 tal:attributes="title python:'Original page number %s'%(pageNumbers[idx]['no'])" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" /> 34 34 </a></td> 35 35 </tr>
Note: See TracChangeset
for help on using the changeset viewer.