~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/templates/person-editwikinames.pt

  • Committer: j.c.sackett
  • Date: 2011-05-19 15:07:29 UTC
  • mto: This revision was merged to the branch mainline in revision 13104.
  • Revision ID: jonathan.sackett@canonical.com-20110519150729-8b1nhilti4hjin0l
Added nofollow,noindex to search page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html
 
2
  xmlns="http://www.w3.org/1999/xhtml"
 
3
  xmlns:tal="http://xml.zope.org/namespaces/tal"
 
4
  xmlns:metal="http://xml.zope.org/namespaces/metal"
 
5
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
 
6
  metal:use-macro="view/macro:page/main_only"
 
7
  i18n:domain="launchpad"
 
8
>
 
9
<body>
 
10
 
 
11
<div metal:fill-slot="main">
 
12
<div metal:use-macro="context/@@launchpad_form/form">
 
13
 
 
14
  <div metal:fill-slot="widgets">
 
15
    <table id="wikinames">
 
16
 
 
17
      <tal:XXX condition="nothing">
 
18
        # XXX: salgado, 2008-11-25 bug=296739: We should use
 
19
        # context/wiki_names/is_empty here, but we can't do that because
 
20
        # there's a bug preventing us from # updating our version of storm
 
21
        # to trunk.
 
22
      </tal:XXX>
 
23
 
 
24
      <tal:existing_wiki condition="context/wiki_names/any">
 
25
 
 
26
        <tr>
 
27
          <td><label>Existing wiki names</label></td>
 
28
        </tr>
 
29
 
 
30
        <tr>
 
31
          <td><label>Wiki URL</label></td>
 
32
        </tr>
 
33
 
 
34
        <tr tal:repeat="wiki context/wiki_names" class="wikiurl">
 
35
          <td tal:content="wiki/url"></td>
 
36
          <td>
 
37
            <label>
 
38
              <input type="checkbox" value="Remove"
 
39
                     tal:attributes="name string:remove_${wiki/id}" />
 
40
              Remove
 
41
            </label>
 
42
          </td>
 
43
        </tr>
 
44
        <tr style="height:2em;"><td></td></tr>
 
45
      </tal:existing_wiki>
 
46
 
 
47
 
 
48
      <tr>
 
49
        <td><label>New wiki name</label></td>
 
50
      </tr>
 
51
 
 
52
      <tal:widget define="widget nocall:view/widgets/wiki">
 
53
        <metal:block use-macro="context/@@launchpad_form/widget_row" />
 
54
      </tal:widget>
 
55
 
 
56
      <tr>
 
57
        <td class="formHelp">Example: https://wiki.ubuntu.com/</td>
 
58
      </tr>
 
59
 
 
60
      <tal:widget define="widget nocall:view/widgets/wikiname">
 
61
        <metal:block use-macro="context/@@launchpad_form/widget_row" />
 
62
      </tal:widget>
 
63
 
 
64
      <tr>
 
65
        <td class="formHelp">Example: YourName.</td>
 
66
      </tr>
 
67
 
 
68
    </table>
 
69
  </div>
 
70
 
 
71
</div>
 
72
</div>
 
73
 
 
74
</body>
 
75
</html>