~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=sinzui][bug=855670] Add additional checks to the private team
        launchpad.LimitedView security adaptor so more users in defined
        roles can see the team.

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
 
 
13
  <div metal:use-macro="context/@@launchpad_form/form">
 
14
    <metal:extra-info fill-slot="extra_info">
 
15
    <p>
 
16
      Launchpad's record for <span tal:replace="context/displayname" /> was
 
17
      created
 
18
      <span
 
19
        tal:attributes="title context/datecreated/fmt:datetime"
 
20
        tal:content="context/datecreated/fmt:displaydate" />
 
21
      <tal:user-created
 
22
        condition="context/creation_rationale/enumvalue:USER_CREATED">
 
23
          by <a tal:attributes="href context/registrant/fmt:url">
 
24
          <span tal:replace="context/registrant/displayname">Foo</span></a>,
 
25
          and the reason given by that user for its creation is:
 
26
            <em tal:content="structure context/creation_comment/fmt:text-to-html">
 
27
              reason
 
28
            </em>
 
29
      </tal:user-created>
 
30
      <tal:not-user-created 
 
31
        condition="not: context/creation_rationale/enumvalue:USER_CREATED">
 
32
          <span tal:replace="context/creation_comment" />.
 
33
      </tal:not-user-created>
 
34
    </p>
 
35
    <p>
 
36
      If you're <span tal:replace="context/displayname" />, relax! You don't
 
37
      need to do anything, and we'll never spam you. But claiming this
 
38
      profile will let you edit your contact details, register your own
 
39
      projects and code branches in Launchpad, and use Launchpad to
 
40
      <strong>collaborate with other developers</strong>.
 
41
    </p>
 
42
    <p>
 
43
      To claim the profile, enter one of the e-mail addresses it is
 
44
      associated with. (We're not showing you the list of addresses to
 
45
      protect <span tal:replace="context/displayname" />'s privacy in case
 
46
      you’re someone else.) We'll e-mail that address to ask your confirmation.
 
47
    </p>
 
48
    </metal:extra-info>
 
49
 
 
50
  </div>
 
51
 
 
52
</div> 
 
53
</body>
 
54
</html>