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

Side by Side Diff: appengine/monorail/templates/tracker/issue-comment-normal-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 <div class="cursor_off vt issuecomment" id="hc[comments.sequence]">
2
3 <div class="issuecommentheader">
4 <span class="author">
5 [if-any comments.creator_role]<span class="role_label">Project Member</spa n>[end]
6 <a name="c[comments.sequence]"
7 href="[project_home_url]/issues/detail?id=[issue.local_id]#c[comments.s equence]">Comment [comments.sequence]</a>
8 by
9 [include "../framework/user-link.ezt" comments.creator]</span>,
10 <span class="date" title="[comments.date_tooltip] UTC"
11 >[comments.date_string][comments.date_relative]</span>
12 [if-any page_perms.ViewInboundMessages comments.can_delete_bool][if-any comm ents.inbound_message]
13 via <a target="_blank" href="original?id=[issue.local_id]&seq=[comments.se quence]">email</a>
14 [end][end]
15 </div>[#issuecommentheader]
16
17 <div class="issuecommentbody">
18 [if-any read_only][else]
19 <div style="float:right; margin-right:.3em; text-align:right" class="ichcom mands">
20 <span id='comment-action-loading-[comments.sequence]'
21 class='loading' style='display:none;'>Processing</span>
22
23 [if-any comments.can_delete_bool][if-any arg0]
24 [if-any comments.is_deleted_bool]
25 <div style="font-size:90%">
26 This comment is not visible to normal users.
27 </div>
28 [if-any comments.is_spam_bool]
29 <a style="font-size: 90%" href="#"
30 class="flagComment" data-spam="[comments.is_spam]" data-id="[comment s.id]"
31 data-sequence='[comments.sequence]'
32 >Unmark this comment as spam</a>
33 [else]
34 <a style="font-size: 90%" href="#"
35 class="delComment" data-sequence="[comments.sequence]" data-mode="0"
36 >Undelete comment</a>
37 [end]
38 [else]
39 <a style="font-size: 90%" href="#"
40 class="delComment" data-sequence="[comments.sequence]" data-mode="1"
41 >Delete comment</a>
42 [end]
43 [end][end]
44
45 [if-any page_perms.FlagSpam]
46 <a class="spamflag flagComment"
47 data-spam="[comments.flagged_spam]" data-id="[comments.id]" data-sequenc e="[comments.sequence]"
48 style="color:[if-any comments.flagged_spam_bool]red[else]gray[end]; text -decoration:none;"
49 title="[if-any comments.flagged_spam_bool]Un-f[else]F[end]lag as spam">
50 [if-any comments.flagged_spam_bool]&#9873;[else]&#9872;[end]
51 </a>
52 [end]
53
54 </div>
55 [end]
56
57 [if-any comments.amendments]
58 <table class="updates">
59 <tr><td class="box-inner">
60 [for comments.amendments]
61 [include "issue-comment-amendment-part.ezt" comments.amendments]
62 [end]
63 </td></tr>
64 </table>
65 [end]
66
67 [if-any comments.content]<pre class="issue_text">
68 [for comments.text_runs][include "render-rich-text.ezt" comments.text_runs][end]
69 </pre>[end]
70
71 [if-any comments.attachments]
72 <div class="attachments">
73 [for comments.attachments]
74 [define offer_delete_attach][if-any arg0][comments.can_delete_bool][else] [end][end]
75 [include "issue-attachment-part.ezt" comments.sequence comments.attachmen ts offer_delete_attach]
76 [end]
77 </div>
78 [end]
79
80 </div>[#issuecommentbody]
81 </div>[#issuecomment]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698