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

Side by Side Diff: appengine/monorail/templates/tracker/issue-comments-part.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 [# 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]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698