Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: appengine/monorail/templates/framework/artifact-list-group-row.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698