@@ -1768,13 +1768,24 @@ plain render a "plain" representation of the property. This method
17681768
17691769 The text is automatically HTML-escaped before the hyperlinking
17701770 transformation done in the plain() method.
1771+
17711772hyperlinked The same as msg.content.plain(hyperlink=1), but nicer::
17721773
17731774 "structure msg/content/hyperlinked"
17741775
17751776field render an appropriate form edit field for the property - for
17761777 most types this is a text entry box, but for Booleans it's a
1777- tri-state yes/no/neither selection.
1778+ tri-state yes/no/neither selection. This method may take some
1779+ arguments:
1780+
1781+ size
1782+ Sets the width in characters of the edit field
1783+
1784+ format (Date properties only)
1785+ Sets the format of the date in the field - uses the same
1786+ format string argument as supplied to the ``pretty`` method
1787+ below.
1788+
17781789stext only on String properties - render the value of the property
17791790 as StructuredText (requires the StructureText module to be
17801791 installed separately)
@@ -1804,14 +1815,18 @@ pretty Date properties - render the date as "dd Mon YYYY" (eg. "19
18041815 Will format as "2004-03-19" instead.
18051816
18061817 Interval properties - render the interval in a pretty
1807- format (eg. "yesterday")
1818+ format (eg. "yesterday"). The format arguments are those used
1819+ in the standard ``strftime`` call (see the `Python Library
1820+ Reference: time module`__)
18081821menu only on Link and Multilink properties - render a form select
18091822 list for this property
18101823reverse only on Multilink properties - produce a list of the linked
18111824 items in reverse order
18121825isset returns True if the property has been set to a value
18131826=========== ================================================================
18141827
1828+ __ http://docs.python.org/lib/module-time.html
1829+
18151830All of the above functions perform checks for permissions required to
18161831display or edit the data they are manipulating. The simplest case is
18171832editing an issue title. Including the expression::
0 commit comments