view templates/classic/html/_generic.index.html @ 2119:cc4667ef3f12

Added the ability to toggle where error messages go. They either go to the user (default, for backwards compatibility), the dispatcher, or both. These are able to be toggled via settings in config.py. Please refer to upgrading.txt for more details. (And Richard, let me know if I've done anything wrong with this checkin. :))
author Eddie Parker <eparker@users.sourceforge.net>
date Thu, 25 Mar 2004 19:27:15 +0000
parents 3a4abf6d48c2
children b0778b9e933c
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>
<span metal:fill-slot="body_title" tal:omit-tag="python:1"
      tal:content="python:context._classname.capitalize()+' editing'"></span>
<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"
      tal:attributes="action context/designator">
<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/