view share/roundup/templates/devel/html/query.html @ 8566:e4191aa7b402 default tip

doc: issue2551415 correct doc for change input->input_payload in 2.5 the rest interface changed a variable name from input to input_payload. An earlier commit changed the rest docs. This commit adds an item for it to the upgrading 2.4.0->2.5.0 section. Also cross reference added to the rest docs with the updated examples.
author John Rouillard <rouilj@ieee.org>
date Thu, 09 Apr 2026 00:19:06 -0400
parents 04264349c483
children
line wrap: on
line source

<!-- Query-related macros -->

<!-- legend for query results -->
<tr metal:define-macro="legend">
  <th><b>x</b></th>
  <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
</tr>

<!-- navigation for query results -->
<tr metal:define-macro="navigation" 
    tal:define="prev batch/previous;
                next batch/next;"
    tal:condition="python:prev or next">
  <th tal:condition="prev" width="30%">
    <input type="button" value="prev"
	   tal:attributes="onclick string:query_start(${prev/start}, ${prev/size})"/>
  </th>
  <th i18n:translate="" width="40%">
    <span tal:replace="batch/start" i18n:name="start"/>..
    <span tal:replace="python: batch.start + batch.length -1" i18n:name="end"/> out of 
    <span tal:replace="batch/sequence_length" i18n:name="total"/>
  </th>
 <th tal:condition="next" width="30%">
    <input type="button" value="next" 
	   tal:attributes="onclick string:query_start(${next/start}, ${next/size})"/>
  </th>
</tr>

Roundup Issue Tracker: http://roundup-tracker.org/