~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/templates/bugtask-batched-comments.pt

  • Committer: Julian Edwards
  • Date: 2011-07-28 20:46:18 UTC
  • mfrom: (13553 devel)
  • mto: This revision was merged to the branch mainline in revision 13555.
  • Revision ID: julian.edwards@canonical.com-20110728204618-tivj2wx2oa9s32bx
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<tal:root
2
 
  xmlns:tal="http://xml.zope.org/namespaces/tal"
3
 
  xmlns:metal="http://xml.zope.org/namespaces/metal"
4
 
  omit-tag="">
5
 
 
6
 
  <tal:comments>
7
 
    <div
8
 
      class="hidden"
9
 
      id="next-batch-url"
10
 
      tal:condition="view/has_more_comments_and_activity"
11
 
      tal:content="view/next_batch_url"></div>
12
 
    <tal:comment
13
 
        repeat="comment_or_activity view/activity_and_comments">
14
 
      <tal:is-comment
15
 
          define="comment comment_or_activity/comment|nothing"
16
 
          condition="comment">
17
 
        <tal:comment-box replace="structure comment/@@+box" />
18
 
      </tal:is-comment>
19
 
 
20
 
      <tal:is-activity
21
 
          define="activity_list comment_or_activity/activity|nothing;
22
 
                  activity_date comment_or_activity/date|nothing;
23
 
                  activity_person comment_or_activity/person|nothing"
24
 
          condition="activity_list">
25
 
          <metal:comment-box
26
 
              metal:use-macro="context/@@bugcomment-macros/activity-box" />
27
 
      </tal:is-activity>
28
 
 
29
 
      <tal:is-break
30
 
         define="num_hidden comment_or_activity/num_hidden|nothing"
31
 
         condition="num_hidden">
32
 
          <metal:comment-box
33
 
              metal:use-macro="context/@@bugcomment-macros/break" />
34
 
      </tal:is-break>
35
 
    </tal:comment>
36
 
  </tal:comments>
37
 
</tal:root>