Changes between Version 7 and Version 8 of KeepInterfaceSimplePlugin
- Timestamp:
- Jun 2, 2017, 11:50:02 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KeepInterfaceSimplePlugin
v7 v8 28 28 approval.visible = !status in 'new', 'closed' 29 29 }}} 30 31 By default, fields are hidden only in the "Change Properties" box: the area where the user modifies the fields. To hide them in the main ticket description at the top of the page as well, add the suffix `.all` to the rule name. To hide the fields in the main ticket description //only//, add the suffix `.ticket` to the rule name. To use different rules for hiding the field in the main ticket description and in the "Change Properties" box, give the main ticket description rule the suffix `.ticket` and the "Change Properties" rule the suffix `.property`. 30 32 31 33 === Hiding options … … 101 103 === Built-in functions 102 104 103 There are two built-in functions: 105 There are four built-in functions: 106 * child_open() 107 108 Returns true if any other open ticket has a field named 'parent' which contains a Trac link that points at the current ticket, otherwise it returns false. This function is useful in conjunction with the ChildTicketsPlugin. 109 104 110 * has_role(<group> [, <user> ]) 105 111 … … 108 114 109 115 If the <ticket> parameter is omitted, it defaults to the current ticket. The function returns true if some other ticket has a field named 'parent' which contains a Trac link that points at the <ticket>, otherwise it returns false. This function is useful in conjunction with the ChildTicketsPlugin. 116 117 * status_of(<other>) 118 119 <other> contains the number of another ticket, optionally prefixed with '#'. The function returns the current status of the other ticket, or the null value if the other ticket cannot be found. 110 120 111 121 === User-defined functions … … 184 194 * New operators: arithmetic and comparison operators, and the ternary operator <expression> '?' <true_expression> ':' <false_expression> 185 195 * Changes to operator precedence: now very similar to that of Javascript. 196 * From version 2.1: fields can be hidden in the main ticket description as well as the Change Properties area. 186 197 187 198 === Utility for importing TracTicketChainedFieldsPlugin configurations