Changes between Version 7 and Version 8 of KeepInterfaceSimplePlugin


Ignore:
Timestamp:
Jun 2, 2017, 11:50:02 AM (7 years ago)
Author:
Jon Ashley
Comment:

Update description in preparation for a new point release

Legend:

Unmodified
Added
Removed
Modified
  • KeepInterfaceSimplePlugin

    v7 v8  
    2828approval.visible = !status in 'new', 'closed'
    2929}}}
     30
     31By 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`.
    3032
    3133=== Hiding options
     
    101103=== Built-in functions
    102104
    103 There are two built-in functions:
     105There 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
    104110 * has_role(<group> [, <user> ])
    105111
     
    108114
    109115   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.
    110120
    111121=== User-defined functions
     
    184194* New operators: arithmetic and comparison operators, and the ternary operator <expression> '?' <true_expression> ':' <false_expression>
    185195* 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.
    186197
    187198=== Utility for importing TracTicketChainedFieldsPlugin configurations