OLD | NEW |
(Empty) | |
| 1 [# Display a group header row, if this is the start of a new group of rows. |
| 2 |
| 3 Args: |
| 4 arg0: singular form of artifact type name. |
| 5 arg1: plural form of artifact type name. |
| 6 ] |
| 7 |
| 8 [if-any table_data.group][if-any table_data.group.cells] |
| 9 <tbody class="opened"> [# The next tbody implicitly closes this one] |
| 10 <tr class="group_row"> |
| 11 <td colspan="100" class="toggleHidden"> |
| 12 <img class="ifClosed" src="/static/images/plus.gif"> |
| 13 <img class="ifOpened" src="/static/images/minus.gif"> |
| 14 [table_data.group.rows_in_group] |
| 15 [is table_data.group.rows_in_group "1"][arg0][else][arg1][end]: |
| 16 [for table_data.group.cells] |
| 17 [define any_group_value]No[end] |
| 18 [for table_data.group.cells.values] |
| 19 [if-any table_data.group.cells.values.item] |
| 20 [define any_group_value]Yes[end] |
| 21 [end] |
| 22 [end] |
| 23 [is any_group_value "Yes"] |
| 24 [for table_data.group.cells.values] |
| 25 [table_data.group.cells.group_name]=[table_data.group.cells.values.i
tem] |
| 26 [end] |
| 27 [else] |
| 28 -has:[table_data.group.cells.group_name] |
| 29 [end] |
| 30 [end] |
| 31 </td> |
| 32 </tr> |
| 33 [end][end] |
OLD | NEW |