50
50
xmlns:tal="http://xml.zope.org/namespaces/tal"
51
51
xmlns:metal="http://xml.zope.org/namespaces/metal"
52
metal:define-macro="break">
53
<div id="comments-container"></div>
54
<div class="boardComment comments-hidden-message" style="border-bottom: 0">
55
<div class="boardCommentDetails">
60
<span class="sprite arrowRight"> </span>
61
<span tal:replace="num_hidden">42</span> comments hidden
62
<span id="more-comments-spinner" class="hidden">
64
<img src="/@@/spinner" />
52
metal:define-macro="break"
53
tal:attributes="class string:boardComment"
54
style="border-bottom: 0">
55
<div class="boardCommentDetails">
60
<span class="sprite arrowRight"> </span>
61
<span tal:replace="num_hidden">42</span> comments hidden
68
<td class="bug-comment-index">
69
<a href="?comments=all"
70
id="show-comments-link"
71
class="show-comments-link sprite retry"
72
style="white-space: nowrap">
74
tal:replace="view/total_comments"
64
<td class="bug-comment-index">
65
<a href="?comments=all"
67
style="white-space: nowrap">
69
tal:replace="view/total_comments"
85
xmlns:tal="http://xml.zope.org/namespaces/tal"
86
xmlns:metal="http://xml.zope.org/namespaces/metal"
87
metal:define-macro="comment-form">
88
<div tal:define="comment_form nocall:context/@@+addcomment-form;
89
dummy comment_form/initialize" id="add-comment-form">
90
<div tal:condition="context/bug/duplicateof"
91
class="warning message"
92
id="warning-comment-on-duplicate">
93
Remember, this bug report is a duplicate of
94
<a tal:define="duplicateof context/bug/duplicateof"
95
tal:condition="duplicateof/required:launchpad.View"
96
tal:attributes="href duplicateof/fmt:url; title
97
duplicateof/title; style string:margin-right: 4px;
98
id string:duplicate-of-warning-link;"
99
tal:content="string:bug #${duplicateof/id}."
102
tal:define="duplicateof context/bug/duplicateof"
103
tal:condition="not:duplicateof/required:launchpad.View"
104
tal:replace="string: a private bug." />
105
Comment here only if you think the duplicate status is wrong.
108
<form action="+addcomment"
110
enctype="multipart/form-data"
111
accept-charset="UTF-8">
113
replace="structure comment_form/widgets/comment" />
115
tal:content="structure
116
comment_form/actions/field.actions.save/render" />
118
<script type="text/javascript">
119
LPS.use('lp.app.comment', function(Y) {
120
var comment = new Y.lp.app.comment.Comment();
126
define="add_attachment_link context_menu/addcomment"
127
replace="structure add_attachment_link/render" />