comparison doc/customizing.txt @ 3129:fa200651d4c6 maint-0.7

doc fixes
author Richard Jones <richard@users.sourceforge.net>
date Fri, 11 Feb 2005 22:41:10 +0000
parents a37e657057c0
children
comparison
equal deleted inserted replaced
3125:a37e657057c0 3129:fa200651d4c6
1817 Interval properties - render the interval in a pretty 1817 Interval properties - render the interval in a pretty
1818 format (eg. "yesterday"). The format arguments are those used 1818 format (eg. "yesterday"). The format arguments are those used
1819 in the standard ``strftime`` call (see the `Python Library 1819 in the standard ``strftime`` call (see the `Python Library
1820 Reference: time module`__) 1820 Reference: time module`__)
1821 menu only on Link and Multilink properties - render a form select 1821 menu only on Link and Multilink properties - render a form select
1822 list for this property 1822 list for this property. Takes a number of optional arguments
1823
1824 size
1825 is used to limit the length of the list labels
1826 height
1827 is used to set the <select> tag's "size" attribute
1828 showid
1829 includes the item ids in the list labels
1830 additional
1831 lists properties which should be included in the label
1832 sort_on
1833 indicates the property to sort the list on as (direction,
1834 property) where direction is '+' or '-'.
1835
1836 The remaining keyword arguments are used as conditions for
1837 filtering the items in the list - they're passed as the
1838 "filterspec" argument to a Class.filter() call.
1823 reverse only on Multilink properties - produce a list of the linked 1839 reverse only on Multilink properties - produce a list of the linked
1824 items in reverse order 1840 items in reverse order
1825 isset returns True if the property has been set to a value 1841 isset returns True if the property has been set to a value
1826 =========== ================================================================ 1842 =========== ================================================================
1827 1843
2477 3. add the property to the issue.index.html page:: 2493 3. add the property to the issue.index.html page::
2478 2494
2479 (in the heading row) 2495 (in the heading row)
2480 <th tal:condition="request/show/due_date">Due Date</th> 2496 <th tal:condition="request/show/due_date">Due Date</th>
2481 (in the data row) 2497 (in the data row)
2482 <td tal:condition="request/show/priority" tal:content="i/due_date" /> 2498 <td tal:condition="request/show/due_date" tal:content="i/due_date" />
2483 2499
2484 4. add the property to the issue.search.html page:: 2500 4. add the property to the issue.search.html page::
2485 2501
2486 <tr tal:define="name string:due_date"> 2502 <tr tal:define="name string:due_date">
2487 <th i18n:translate="">Due Date:</th> 2503 <th i18n:translate="">Due Date:</th>

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