~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  metal:use-macro="view/macro:page/main_only"
  i18n:domain="bazaar">

<body>

<div metal:fill-slot="main" class="visualPadding"
     tal:define="batch view/batchnav/currentBatch">

  <form action="" method="GET">
    <fieldset>
        <label for="text">List projects matching:</label>

        <div class="formControls">
            <input type="text" name="text"
                   tal:attributes="value view/text" size="25" />
            <input type="submit" name="search" value="Search" />
            <br />
        </div>

    </fieldset>
  </form>

  <tal:no-results condition="not:batch">
    <p>No imports found matching criteria.</p>
  </tal:no-results>

  <tal:results condition="batch">
    <div class="lesser" tal:content="structure view/batchnav/@@+navigation-links-upper" />
    <table class="listing" width="100%">
      <thead>
        <tr>
          <th>Project</th>
          <th>Branch Name</th>
          <th>Source Details</th>
          <th>Last Updated</th>
        </tr>
      </thead>
      <tbody>
        <tr tal:repeat="code_import batch">
          <td>
            <a tal:attributes="href code_import/branch/target/fmt:url"
               tal:content="code_import/branch/target/displayname"
              >$Product.name</a>
          </td>
          <td><a tal:attributes="href code_import/branch/fmt:url"
                 tal:content="code_import/branch/name"
              >$Branch.name</a></td>
          <td tal:content="code_import/getImportDetailsForDisplay">
            :pserver:user@host:/cvsroot module
          </td>
          <td>
            <span
              tal:attributes="title code_import/date_last_successful/fmt:datetime"
              tal:content="code_import/date_last_successful/fmt:approximatedate"
              >$code_import.datelastsynced</span>
          </td>
        </tr>
      </tbody>
    </table>
    <div class="lesser" tal:content="structure view/batchnav/@@+navigation-links-lower" />
  </tal:results>

</div>

</body>
</html>