OLD | NEW |
(Empty) | |
| 1 [if-any results] |
| 2 |
| 3 [is grid_x_attr "--"][else] |
| 4 <tr> |
| 5 [is grid_y_attr "--"][else]<th> </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]&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&q=[query]&
;x=[grid_x_attr]&y=[grid_y_attr]&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] |
OLD | NEW |