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

Side by Side Diff: appengine/monorail/templates/tracker/issue-grid-body.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 [if-any results]
2
3 [is grid_x_attr "--"][else]
4 <tr>
5 [is grid_y_attr "--"][else]<th>&nbsp;</th>[end]
6 [for grid_x_headings]
7 <th>[grid_x_headings]</th>
8 [end]
9 </tr>
10 [end]
11
12 [for grid_data]
13 <tr class="grid">
14 [is grid_y_attr "--"][else]<th>[grid_data.grid_y_heading]</th>[end]
15
16 [for grid_data.cells_in_row]
17 <td class="vt hoverTarget [is grid_cell_mode "tiles"][else]idcount[end]">
18 [for grid_data.cells_in_row.tiles]
19 [is grid_cell_mode "tiles"]
20 [include "issue-grid-tile.ezt" grid_data.cells_in_row.tiles.starred grid_ data.cells_in_row.tiles.local_id grid_data.cells_in_row.tiles.status grid_data.c ells_in_row.tiles.summary]
21 [end]
22 [is grid_cell_mode "ids"]
23 <a title="[grid_data.cells_in_row.tiles.summary]"
24 href="detail?id=[grid_data.cells_in_row.tiles.local_id]">[grid_data.ce lls_in_row.tiles.local_id]</a>
25 [end]
26 [end]
27 [is grid_cell_mode "counts"]
28 [is grid_data.cells_in_row.count "0"]
29 [else]
30 [is grid_data.cells_in_row.count "1"]
31 <a href="detail?id=[for grid_data.cells_in_row.tiles][grid_data.cells_in _row.tiles.local_id][end]"
32 >[grid_data.cells_in_row.count] item</a>
33 [else]
34 <a href="list?can=[can]&amp;q=[grid_data.cells_in_row.drill_down][query] ">[grid_data.cells_in_row.count] items</a>
35 [end]
36 [end]
37
38 [end]
39 </td>
40 [end]
41 </tr>
42 [end]
43
44 [else]
45
46 <tr>
47 <td colspan="40" class="id">
48 <div style="padding: 3em; text-align: center">
49 [if-any project_has_any_issues]
50 Your search did not generate any results. <br>
51 [is can "1"]
52 You may want to remove some terms from your query.<br>
53 [else]
54 You may want to try your search over <a href="list?can=1&amp;q=[query]&amp ;x=[grid_x_attr]&amp;y=[grid_y_attr]&amp;mode=grid">all issues</a>.<br>
55 [end]
56 [else]
57 This project currently has no issues.<br>
58 [if-any page_perms.CreateIssue]
59 [if-any read_only][else]
60 You may want to enter a <a class="id" href="entry">new issue</a>.
61 [end]
62 [end]
63 [end]
64 </div>
65 </td>
66 </tr>
67
68 [end]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698