~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
76
77
78
79
80
81
82
83
<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"
>
  <head>
    <metal:css fill-slot="head_epilogue">
    <style type="text/css">
      .yui-main {
        clear: both;
      }
    </style>
    </metal:css>
  </head>
  <body>
    <div metal:fill-slot="main">
      <div metal:use-macro="context/@@launchpad_form/form">
        <div metal:fill-slot="extra_info">
          <tal:review-person tal:condition="view/is_viewing_person">
            <p>
              Changing a user's name will change his OpenID identifier and
              may cause problems with relying parties. PPA and mailing lists
              will be broken too.
            </p>
            <p>
              <a tal:attributes="
                href string:${view/context/fmt:url}/+reviewaccount"><img
                tal:attributes="alt string:edit" src="/@@/edit" />
                Review the user's account information</a>.
            </p>
          </tal:review-person>

          <tal:review-account
               condition="python: not view.is_viewing_person and view.viewed_by_admin">
            <p>
              The account displayname is not always the same as the Launchpad
              displayname.
            </p>
            <p>
              <a tal:attributes="
                href string:${view/person/fmt:url}/+review"><img
                tal:attributes="alt string:edit" src="/@@/edit" />
                Review the user's Launchpad information</a>.
            </p>
             <table id="summary">
              <tr>
                <th>Created:</th>
                <td><tal:date replace="view/context/date_created/fmt:date" /></td>
              </tr>
              <tr>
                <th>Creation reason:</th>
                <td><tal:reason replace="view/context/creation_rationale/title" /></td>
              </tr>
              <tr>
                <th>OpenID Identifiers:</th>
                <td>
                  <ul>
                    <li tal:repeat="identifier view/context/openid_identifiers"
                        tal:content="identifier/identifier">Identifier</li>
                  </ul>
                </td>
              </tr>
              <tr>
                <th>Email Addresses:</th>
                <td>
                  <tal:emails repeat="email view/email_addresses">
                    <span style="white-space: nowrap">
                      <tal:email replace="email">foo2@bar.com</tal:email>
                      <br tal:omit-tag="repeat/email/end" />
                    </span>
                  </tal:emails>
                </td>
              </tr>
            </table>
          </tal:review-account>
        </div>
      </div>
    </div>
  </body>
</html>