OLD | NEW |
(Empty) | |
| 1 [# Show the list of issue comments. This is used on the issue detail page and a
lso |
| 2 the issue peek page. |
| 3 |
| 4 arg0: If any value, then show the "Delete comment" links, if appropriate. |
| 5 ] |
| 6 |
| 7 <div class="cursor_off vt issuedescription" id="hc0"> |
| 8 |
| 9 <pre class="issue_text"> |
| 10 [for description.text_runs][include "render-rich-text.ezt" description.text_runs
][end] |
| 11 </pre> |
| 12 |
| 13 [if-any description.attachments] |
| 14 <div class="attachments"> |
| 15 [for description.attachments] |
| 16 [include "issue-attachment-part.ezt" "0" description.attachments descriptio
n.can_delete_bool] |
| 17 [end] |
| 18 </div> |
| 19 [end] |
| 20 |
| 21 </div>[#issuedescription] |
| 22 |
| 23 |
| 24 [if-any cmnt_pagination] |
| 25 [if-any cmnt_pagination.visible] |
| 26 <div class="vt issuecomment" width="100%" style="background:#e5ecf9; padding:2
px .7em; margin:0; border:0"> |
| 27 [include "../framework/comment-pagination-part.ezt"] |
| 28 </div> |
| 29 [end] |
| 30 [end] |
| 31 |
| 32 [for comments] |
| 33 [if-any arg0] |
| 34 [define show_comment][if-any comments.visible_bool]Yes[else]No[end][end] |
| 35 [else] |
| 36 [define show_comment][if-any comments.is_deleted_bool]No[else]Yes[end][end] |
| 37 [end] |
| 38 |
| 39 [is show_comment "Yes"] |
| 40 <div class="[if-any comments.is_deleted_bool] delcom ifExpand[end]"> |
| 41 [include "issue-comment-normal-part.ezt" arg0] |
| 42 </div> |
| 43 [if-any comments.is_deleted_bool] |
| 44 <div class="ifCollapse"> |
| 45 [include "issue-comment-tombstone-part.ezt" arg0] |
| 46 </div> |
| 47 [end] |
| 48 [else] |
| 49 [include "issue-comment-tombstone-part.ezt" arg0] |
| 50 [end][# show_comment] |
| 51 [end][#for comments] |
| 52 |
| 53 |
| 54 [if-any cmnt_pagination] |
| 55 [if-any cmnt_pagination.visible] |
| 56 <div class="vt issuecomment" width="100%" style="background:#e5ecf9; padding:2
px .7em; margin:0"> |
| 57 [include "../framework/comment-pagination-part.ezt"] |
| 58 </div> |
| 59 [end] |
| 60 [end] |
OLD | NEW |