297
297
<tal:comment-list-complete
298
298
tal:condition="not:view/visible_comments_truncated_for_display">
299
299
<tal:logged-in condition="view/user">
300
<div tal:define="comment_form nocall:context/@@+addcomment-form;
301
dummy comment_form/initialize"
302
id="add-comment-form">
304
tal:condition="context/bug/duplicateof"
305
class="warning message"
306
id="warning-comment-on-duplicate">
307
Remember, this bug report is a duplicate of
309
tal:define="duplicateof context/bug/duplicateof"
310
tal:condition="duplicateof/required:launchpad.View"
311
tal:attributes="href duplicateof/fmt:url; title
312
duplicateof/title; style string:margin-right: 4px;
313
id string:duplicate-of-warning-link;"
314
tal:content="string:bug #${duplicateof/id}."
317
tal:define="duplicateof context/bug/duplicateof"
318
tal:condition="not:duplicateof/required:launchpad.View"
319
tal:replace="string: a private bug." />
320
Comment here only if you think the duplicate status is wrong.
323
<form action="+addcomment"
325
enctype="multipart/form-data"
326
accept-charset="UTF-8">
328
replace="structure comment_form/widgets/comment" />
330
tal:content="structure
331
comment_form/actions/field.actions.save/render" />
333
<script type="text/javascript">
334
LPS.use('lp.app.comment', function(Y) {
335
var comment = new Y.lp.app.comment.Comment();
341
define="add_attachment_link context_menu/addcomment"
342
replace="structure add_attachment_link/render" />
301
metal:use-macro="context/@@bugcomment-macros/comment-form" />
345
304
<tal:not-logged-in condition="not: view/user">
351
310
</tal:comment-list-complete>
352
311
<tal:comment-list-truncated
353
312
tal:condition="view/visible_comments_truncated_for_display">
354
<div class="informational message">
313
<div class="informational message comments-hidden-message" >
355
314
Displaying first <span
356
315
tal:replace="view/visible_initial_comments">23</span>
367
326
view_all_href">add a comment</a>.
329
<tal:logged-in condition="view/user">
330
<div id="add-comment-form-container" class="hidden">
332
metal:use-macro="context/@@bugcomment-macros/comment-form" />
370
335
</tal:comment-list-truncated>