~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/templates/branch-portlet-details.pt

  • Committer: Graham Binns
  • Date: 2011-06-30 14:11:42 UTC
  • mfrom: (13334 devel)
  • mto: This revision was merged to the branch mainline in revision 13335.
  • Revision ID: graham@canonical.com-20110630141142-4jj17kjzyaii0qfo
Merged devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div
2
 
  xmlns:tal="http://xml.zope.org/namespaces/tal"
3
 
  xmlns:metal="http://xml.zope.org/namespaces/metal"
4
 
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5
 
  class="portlet" id="portlet-details">
6
 
  <h2>Current details</h2>
7
 
  <div class="portletBody portletContent">
8
 
    <table>
9
 
      <tbody>
10
 
        <tr>
11
 
          <th>Type:</th>
12
 
          <td><tal:branch-type replace="context/branch_type/title" /></td>
13
 
        </tr>
14
 
        <tr tal:condition="not:view/owner_is_registrant">
15
 
          <th>Registrant:</th>
16
 
          <td>
17
 
            <tal:registrant replace="structure context/registrant/fmt:link"/>
18
 
          </td>
19
 
        </tr>
20
 
        <tr tal:condition="context/product">
21
 
          <th>Project:</th>
22
 
          <td>
23
 
            <tal:link replace="structure context/product/fmt:link" />
24
 
          </td>
25
 
        </tr>
26
 
        <tr>
27
 
          <th>Status:</th>
28
 
          <td>
29
 
            <span id="branch-details-status-value"
30
 
                  tal:content="context/lifecycle_status/title"
31
 
                  tal:attributes="class string:branchstatus${context/lifecycle_status/name}"
32
 
                >Experimental</span>
33
 
          </td>
34
 
        </tr>
35
 
      </tbody>
36
 
    </table>
37
 
  </div>
38
 
</div>