Mercurial > p > roundup > code
comparison doc/customizing.txt @ 3292:8c7b522dc934
added date selection popup windows (thanks Marcus Priesch)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Apr 2005 02:16:27 +0000 |
| parents | bb08ffc56967 |
| children | 8897483a9f8b |
comparison
equal
deleted
inserted
replaced
| 3291:bb08ffc56967 | 3292:8c7b522dc934 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.179 $ | 5 :Version: $Revision: 1.180 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 1930 | 1930 |
| 1931 Interval properties - render the interval in a pretty | 1931 Interval properties - render the interval in a pretty |
| 1932 format (eg. "yesterday"). The format arguments are those used | 1932 format (eg. "yesterday"). The format arguments are those used |
| 1933 in the standard ``strftime`` call (see the `Python Library | 1933 in the standard ``strftime`` call (see the `Python Library |
| 1934 Reference: time module`__) | 1934 Reference: time module`__) |
| 1935 popcal Generate a link to a popup calendar which may be used to | |
| 1936 edit the date field, for example:: | |
| 1937 | |
| 1938 <span tal:replace="structure context/due/popupCalendar" /> | |
| 1939 | |
| 1935 menu only on Link and Multilink properties - render a form select | 1940 menu only on Link and Multilink properties - render a form select |
| 1936 list for this property. Takes a number of optional arguments | 1941 list for this property. Takes a number of optional arguments |
| 1937 | 1942 |
| 1938 size | 1943 size |
| 1939 is used to limit the length of the list labels | 1944 is used to limit the length of the list labels |
| 2139 Method Description | 2144 Method Description |
| 2140 =============== ======================================================== | 2145 =============== ======================================================== |
| 2141 Batch return a batch object using the supplied list | 2146 Batch return a batch object using the supplied list |
| 2142 url_quote quote some text as safe for a URL (ie. space, %, ...) | 2147 url_quote quote some text as safe for a URL (ie. space, %, ...) |
| 2143 html_quote quote some text as safe in HTML (ie. <, >, ...) | 2148 html_quote quote some text as safe in HTML (ie. <, >, ...) |
| 2149 html_calendar renders an HTML calendar used by the | |
| 2150 ``_generic.calendar.html`` template (itself invoked by | |
| 2151 the popupCalendar DateHTMLProperty method | |
| 2144 =============== ======================================================== | 2152 =============== ======================================================== |
| 2145 | 2153 |
| 2146 You may add additional utility methods by writing them in your tracker | 2154 You may add additional utility methods by writing them in your tracker |
| 2147 ``extensions`` directory and registering them with the templating system | 2155 ``extensions`` directory and registering them with the templating system |
| 2148 using ``instance.registerUtil`` (see `adding a time log to your issues`_ for | 2156 using ``instance.registerUtil`` (see `adding a time log to your issues`_ for |
