Changeset 501:29c6d09a506c in documentViewer for zpt/toc_figures.zpt


Ignore:
Timestamp:
Feb 15, 2012, 4:57:02 PM (12 years ago)
Author:
casties
Branch:
elementtree
Message:

more cleanup.
viewMode=index works now.
moved common template parts in common_template.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/toc_figures.zpt

    r489 r501  
    2828    </ul>
    2929    <div class="ruler">
    30       <form class="autosubmit" tal:attributes="action viewerUrl">
    31         <input type="hidden"
    32           tal:define="params python:here.getParams('start', None)"
    33           tal:repeat="param params"
    34           tal:attributes="name param; value python:params[param]" />
    35         <a tal:condition="batch/prevStart"
    36           tal:attributes="href python:here.getLink('start',batch['prevStart'])">&lt;</a>
    37         <span tal:condition="not:batch/prevStart">&lt;</span>
    38         <select class="autosubmit" name="start">
    39           <option tal:repeat="grp batch/batches"
    40             tal:attributes="selected python:(start==grp['start']); value grp/start"
    41             tal:content="string:${grp/start} - ${grp/end}" />
    42         </select>
    43         <input type="submit" value="Go" />
    44         <a tal:condition="batch/nextStart"
    45           tal:attributes="href python:here.getLink('start',batch['nextStart'])">&gt;</a>
    46         <span tal:condition="not:batch/nextStart">&gt;</span>
    47       </form>
     30        <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler"/>
    4831    </div>
    4932    <div class="content"
Note: See TracChangeset for help on using the changeset viewer.