Mercurial > p > roundup > code
diff doc/customizing.txt @ 673:604c84696461
link() htmltemplate function now has a "showid" option for links & multilinks.
When true, it only displays the linked node id as the anchor text. The
link value is displayed as a tooltip using the title anchor attribute.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 02 Apr 2002 01:40:59 +0000 |
| parents | e429649ed124 |
| children | 5b23ff865f3a |
line wrap: on
line diff
--- a/doc/customizing.txt Fri Mar 29 19:41:48 2002 +0000 +++ b/doc/customizing.txt Tue Apr 02 01:40:59 2002 +0000 @@ -321,6 +321,8 @@ | |text. | | |Options: | | |property (property name) - the property to use in the second case. | +| |showid - use the linked node id as the link text (linked node | +| | "value" will be set as a tooltip) | +---------+-------------------------------------------------------------------+ |count |For a Multilink property, display a count of the number of links in| | |the list. | @@ -515,6 +517,21 @@ "note" field, which is a text area for entering a note to go along with a change. +The <property> tag used in the index may also be used here - it checks to see +if the nominated Multilink property has any entries. This can be used to +eliminate sections of the editor section if the property has no entries:: + + <td class="form-text"> + <display call="field('superseder', size=40, showid=1)"> + <display call="classhelp('issue', 'id,title', label='list', width=500)"> + <property name="superseder"> + <br>View: <display call="link('superseder', showid=1)"> + </property> + </td> + +The "View: " part with the links will only display if the superseder property +has values. + When a change is submitted, the system automatically generates a message describing the changed properties. @@ -543,7 +560,7 @@ The <property> tag used in the index may also be used here - it checks to see if the nominated Multilink property has any entries. This can be used to -eliminate sections of the spool section if the property has no entries.:: +eliminate sections of the spool section if the property has no entries:: <property name="files"> <tr class="strong-header">
