1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<tal:root
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
omit-tag="">
<div
itemscope=""
itemtype="http://schema.org/UserComments"
tal:define="css_classes view/getBoardCommentCSSClass"
tal:attributes="class string:${css_classes};
id string:comment-${context/index}">
<div class="boardCommentDetails">
<table>
<tbody>
<tr>
<td>
<tal:bestanswer condition="view/isBestAnswer">
<img src="/@@/favourite-yes" style="float:right;" alt="Best"
title="Marked as best answer" />
</tal:bestanswer>
<tal:comment_has_owner>
<tal:comment_owner replace="structure context/owner/fmt:link-display-name-id" />
</tal:comment_has_owner>
said
<time
itemprop="commentTime"
tal:attributes="title context/datecreated/fmt:datetime;
datetime context/datecreated/fmt:isodate"
tal:content="context/datecreated/fmt:displaydate">Thursday
13:21</time>:
</td>
<td class="bug-comment-index">
<a
tal:content="string: #${context/display_index}" />
</td>
</tr></tbody></table>
</div>
<div class="boardCommentBody"
tal:attributes="class view/getBodyCSSClass"
itemprop="commentText"
tal:content="structure
context/text_contents/fmt:obfuscate-email/fmt:email-to-html">
Message text.
</div>
<div class="confirmBox"
tal:condition="view/canConfirmAnswer">
<form action=""
method="POST"
tal:attributes="action request/URL">
<input tal:replace="structure view/renderAnswerIdFormElement" />
<input type="hidden" name="field.message" value="" />
<input type="submit"
name="field.actions.confirm"
value="This Solved My Problem" />
</form>
</div>
<div
tal:condition="view/canSeeSpamControls"
class="boardCommentFooter">
<a tal:attributes="id string:mark-spam-${context/index};"
class="js-action sprite edit mark-spam" href="#">
<tal:not-spam
condition="not: context/visible">Unhide comment</tal:not-spam>
<tal:spam condition="context/visible">Hide comment</tal:spam>
</a>
</div>
</div>
</tal:root>
|