Changeset 482:7ca8ac7db06e in documentViewer for zpt/toc_thumbs.zpt
- Timestamp:
- Aug 16, 2011, 4:27:08 PM (13 years ago)
- Branch:
- elementtree
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/toc_thumbs.zpt
r481 r482 39 39 <select class="autosubmit" name="start" 40 40 tal:define="ofs python:test(pageinfo['pageZero'],0,1)"> 41 <tal:block tal:repeat="grp python:range(numgroups)">42 <option tal: define="idx python:max(grp*grpsize+ofs,1)"43 tal:attributes="selected python:start== idx; value idx;"44 tal:content=" python:'%s - %s'%(idx,min((grp+1)*grpsize+ofs-1,numPages))" />41 <tal:block > 42 <option tal:repeat="grp pageBatch/batches" 43 tal:attributes="selected python:start==grp['start']; value grp/start;" 44 tal:content="string:${grp/start} - ${grp/end}" /> 45 45 </tal:block> 46 46 </select>
Note: See TracChangeset
for help on using the changeset viewer.