From 67350238adb540913732d705e00162c167dcedc2 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 13 Feb 2004 01:31:03 +0000 Subject: [PATCH] added new example git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2077 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/customizing.txt | 49 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/doc/customizing.txt b/doc/customizing.txt index 3035e55..f7d1958 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.112 $ +:Version: $Revision: 1.113 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -3681,6 +3681,53 @@ different priorities, like:: and so on, with far less offensive colours :) +Editing multiple items in an index view +--------------------------------------- + +To edit the status of all items in the item index view, edit the +``issue.item.html``: + +1. add a form around the listing table, so at the top it reads:: + +
+ + + and at the bottom of that table:: + +
+
`` from the list table, not the + navigation table or the subsequent form table. + +2. in the display for the issue property, change:: + +   + + to:: + +   + + this will result in an edit field for the status property. + +3. after the ``tal:block`` which lists the actual index items (marked by + ``tal:repeat="i batch"``) add a new table row:: + + + + + + + + + + which gives us a submit button, indicates that we are performing an edit + on any changed statuses and the final block will make sure that the + current index view parameters (filtering, columns, etc) will be used in + rendering the next page (the results of the editing). + ------------------- Back to `Table of Contents`_ -- 2.30.2