OLD | NEW |
(Empty) | |
| 1 [for panels][# There will always be exactly one panel.] |
| 2 [include "issue-list-headings.ezt"] |
| 3 [end] |
| 4 |
| 5 [if-any table_data] |
| 6 [for table_data] |
| 7 |
| 8 [include "../framework/artifact-list-group-row.ezt" "issue" "issues"] |
| 9 |
| 10 <tr class="ifOpened hoverTarget [is cursor table_data.issue_ref]cursor_on[else
]cursor_off[end]" data-idx="[table_data.idx]"> |
| 11 <td class="rowwidgets nowrap"> |
| 12 [if-any read_only][else] |
| 13 [if-any page_perms.EditIssue][if-any is_cross_project][else][# TODO(jrobbi
ns): cross-project bulk edit] |
| 14 <input type="checkbox" id="cb_[table_data.local_id]" class="checkRangeSel
ect"> |
| 15 [end][end] |
| 16 [if-any page_perms.SetStar] |
| 17 <a class="star" id="star-[table_data.project_name]-[table_data.local_id]" |
| 18 style="color:[if-any table_data.starred]cornflowerblue[else]gray[end];" |
| 19 title="[if-any table_data.starred]Un-s[else]S[end]tar this issue" |
| 20 data-project-name="[table_data.project_name]" data-local-id="[table_data
.local_id]"> |
| 21 [if-any table_data.starred]★[else]☆[end] |
| 22 </a> |
| 23 [else] |
| 24 |
| 25 [end] |
| 26 [end] |
| 27 </td> |
| 28 |
| 29 [for table_data.cells] |
| 30 [is table_data.cells.type "ID"] |
| 31 <td class="id col_[table_data.cells.col_index]" |
| 32 [# TODO(jrobbins): re-implement preview_on_hover in polymer.] |
| 33 ><a href="[table_data.issue_url]"> |
| 34 [if-any is_cross_project][table_data.project_name]:[end][table_dat
a.local_id]</a></td> |
| 35 [end] |
| 36 |
| 37 [is table_data.cells.type "summary"] |
| 38 <td class="col_[table_data.cells.col_index]" |
| 39 align="right" valign="top" style="padding-right:0; padding-top: 0.15em
"> |
| 40 [if-any table_data.owner_is_me]<small><b>›</b></small>[else]
[end] |
| 41 </td> |
| 42 <td class="col_[table_data.cells.col_index]" width="100%" |
| 43 >[include "../framework/artifact-list-cell-values.ezt"] |
| 44 [include "../framework/artifact-list-non-column-labels.ezt"] |
| 45 </td> |
| 46 [end] |
| 47 |
| 48 [is table_data.cells.type "attr"] |
| 49 <td class="col_[table_data.cells.col_index][if-any table_data.cells.NOWRAP
] nowrap[end]" |
| 50 [if-any table_data.cells.align]align="[table_data.cells.align]"[end] |
| 51 >[include "../framework/artifact-list-cell-values.ezt"]</td> |
| 52 [end] |
| 53 |
| 54 [is table_data.cells.type "unfilterable"] |
| 55 <td class="col_[table_data.cells.col_index] [if-any table_data.cells.NOWR
AP]nowrap[end]" |
| 56 [if-any table_data.cells.align]align="[table_data.cells.align]"[end] |
| 57 >[include "../framework/artifact-list-cell-values.ezt"]</td> |
| 58 [end] |
| 59 [end] |
| 60 <td> </td> |
| 61 </tr> |
| 62 [end] |
| 63 |
| 64 [else] |
| 65 |
| 66 <tr> |
| 67 <td colspan="40" class="id"> |
| 68 <div style="padding: 3em; text-align: center"> |
| 69 [if-any project_has_any_issues] |
| 70 Your search did not generate any results. <br> |
| 71 [is can "1"] |
| 72 You may want to remove some terms from your query.<br> |
| 73 [else] |
| 74 You may want to try your search over <a href="list?can=1&q=[format "ur
l"][query][end]">all issues</a>.<br> |
| 75 [end] |
| 76 [else] |
| 77 This project currently has no issues.<br> |
| 78 [if-any page_perms.CreateIssue] |
| 79 [if-any read_only][else] |
| 80 You may want to enter a <a class="id" href="entry">new issue</a>. |
| 81 [end] |
| 82 [end] |
| 83 [end] |
| 84 </div> |
| 85 </td> |
| 86 </tr> |
| 87 |
| 88 [end] |
OLD | NEW |