~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
72
73
74
75
<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="launchpad"
>
<body>

<div metal:fill-slot="main">
<div metal:use-macro="context/@@launchpad_form/form">

  <div metal:fill-slot="widgets">
    <table id="wikinames">

      <tal:XXX condition="nothing">
        # XXX: salgado, 2008-11-25 bug=296739: We should use
        # context/wiki_names/is_empty here, but we can't do that because
        # there's a bug preventing us from # updating our version of storm
        # to trunk.
      </tal:XXX>

      <tal:existing_wiki condition="context/wiki_names/any">

        <tr>
          <td><label>Existing wiki names</label></td>
        </tr>

        <tr>
          <td><label>Wiki URL</label></td>
        </tr>

        <tr tal:repeat="wiki context/wiki_names" class="wikiurl">
          <td tal:content="wiki/url"></td>
          <td>
            <label>
              <input type="checkbox" value="Remove"
                     tal:attributes="name string:remove_${wiki/id}" />
              Remove
            </label>
          </td>
        </tr>
        <tr style="height:2em;"><td></td></tr>
      </tal:existing_wiki>


      <tr>
        <td><label>New wiki name</label></td>
      </tr>

      <tal:widget define="widget nocall:view/widgets/wiki">
        <metal:block use-macro="context/@@launchpad_form/widget_row" />
      </tal:widget>

      <tr>
        <td class="formHelp">Example: https://wiki.ubuntu.com/</td>
      </tr>

      <tal:widget define="widget nocall:view/widgets/wikiname">
        <metal:block use-macro="context/@@launchpad_form/widget_row" />
      </tal:widget>

      <tr>
        <td class="formHelp">Example: YourName.</td>
      </tr>

    </table>
  </div>

</div>
</div>

</body>
</html>