view templates/classic/html/_generic.index.html @ 1739:c3f0b552a55a

batch the (list) listings at 500 entries per page [SF#759906] Unfortunately, the doovy javascript falls over when the next/prev links are used, so I've added some simple checking to remove that stuff when we're paging through the results (the simple test fails if you page back to the first page, but it'll do for now)
author Richard Jones <richard@users.sourceforge.net>
date Tue, 12 Aug 2003 02:10:12 +0000
parents 21312a7564fd
children 8b840f8626fb
line wrap: on
line source

<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->

<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
       tal:content="python:context._classname.capitalize()+' editing'"></title>
<td class="page-header-top" metal:fill-slot="body_title">
 <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
</td>
<td class="content" metal:fill-slot="content">

<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
You are not allowed to view this page.
</span>

<tal:block tal:condition="context/is_edit_ok">
<p class="form-help">
 You may edit the contents of the <span tal:replace="request/classname" />
 class using this form. Commas, newlines and double quotes (") must be
 handled delicately. You may include commas and newlines by enclosing the
 values in double-quotes ("). Double quotes themselves must be quoted by
 doubling ("").
</p>

<p class="form-help">
 Multilink properties have their multiple values colon (":") separated 
 (... ,"one:two:three", ...)
</p>

<p class="form-help">
 Remove entries by deleting their line. Add new entries by appending
 them to the table - put an X in the id column.
</p>

<form onSubmit="return submit_once()" method="POST">
<textarea rows="15" cols="60" name="rows" tal:content="context/csv"></textarea>
<br>
<input type="hidden" name=":action" value="editCSV">
<input type="submit" value="Edit Items">
</form>
</tal:block>

<tal:block tal:condition="context/is_only_view_ok">
view ok
</tal:block>

</td>

</tal:block>

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