~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/templates/bugcomment-box.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-24 05:14:44 UTC
  • mfrom: (14325.2.10 888353-microformats)
  • Revision ID: launchpad@pqm.canonical.com-20111124051444-4h2ac7rxbqugu32n
[r=rvb][bug=888353] add schema.org microformats for bugs and
        breadcrumbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
  xmlns="http://www.w3.org/1999/xhtml"
3
3
  xmlns:tal="http://xml.zope.org/namespaces/tal"
4
4
  xmlns:metal="http://xml.zope.org/namespaces/metal"
 
5
  itemscope=""
 
6
  itemtype="http://schema.org/UserComments"
5
7
  tal:define="comment context;
6
8
              remote_bug_comment_class
7
9
              python: comment.bugwatch and 'remoteBugComment' or '';
19
21
            <tal:comment_owner
20
22
                replace="structure comment/owner/fmt:link-display-name-id" />
21
23
            wrote
22
 
            <span tal:attributes="title comment/datecreated/fmt:datetime"
23
 
                  tal:content="comment/datecreated/fmt:displaydate">
24
 
              7 minutes ago
25
 
              </span>:
 
24
            <time
 
25
              itemprop="commentTime"
 
26
              tal:attributes="title comment/datecreated/fmt:datetime;
 
27
                datetime comment/datecreated/fmt:isodate"
 
28
              tal:content="comment/datecreated/fmt:displaydate">
 
29
                7 minutes ago
 
30
            </time>:
26
31
              <a tal:attributes="href comment/fmt:url"
27
32
                 tal:condition="comment/display_title">
28
33
                <strong tal:content="comment/title" />
46
51
              </a>
47
52
          </td>
48
53
          <td class="bug-comment-index">
49
 
            <a tal:attributes="href comment/fmt:url"
50
 
               tal:content="string: #${comment/index}" />
 
54
          <a itemprop="url"
 
55
             tal:attributes="href comment/fmt:url"
 
56
             tal:content="string: #${comment/index}" />
51
57
          </td>
52
58
        </tr>
53
59
      </tbody>
79
85
      </li>
80
86
    </ul>
81
87
 
82
 
    <div class="bug-comment"
 
88
    <div class="bug-comment" itemprop="commentText"
83
89
      tal:content="structure
84
90
        comment/text_for_display/fmt:obfuscate-email/fmt:email-to-html">
85
91
      Comment text.