~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[rs=buildbot-poller] automatic merge from stable. Revisions: 14451,
        14452, 14453, 14454, 14455 included.

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
 
 
10
 
<body>
11
 
  <div metal:fill-slot="main">
12
 
    <p tal:condition="not: view/has_relationships">
13
 
      None of the members of
14
 
      &#8220;<span tal:replace="context/displayname"/>&#8221;
15
 
      are teams, nor is it a member of any other team.
16
 
    </p>
17
 
    <p tal:condition="view/has_only_super_teams">
18
 
      None of the members of
19
 
      &#8220;<span tal:replace="context/displayname"/>&#8221;
20
 
      are teams.
21
 
    </p>
22
 
    <tal:block condition="view/has_sub_teams">
23
 
      <p>
24
 
        These teams are members of
25
 
        &#8220;<span tal:replace="context/displayname"/>&#8221;:
26
 
      </p>
27
 
      <ul id="subteams">
28
 
        <tal:subteams repeat="team context/sub_teams">
29
 
          <li
30
 
            tal:condition="team/@@+restricted-membership/userCanViewMembership">
31
 
            <tal:link replace="structure team/fmt:link" />
32
 
          </li>
33
 
        </tal:subteams>
34
 
    </ul>
35
 
    </tal:block>
36
 
    <p tal:condition="view/has_only_sub_teams">
37
 
      &#8220;<span tal:replace="context/displayname"/>&#8221;
38
 
      is not a member of any other team.
39
 
    </p>
40
 
    <tal:block condition="view/has_super_teams">
41
 
      <p>
42
 
        &#8220;<span tal:replace="context/displayname"/>&#8221;
43
 
        is a member of these teams:
44
 
      </p>
45
 
      <ul id="superteams">
46
 
        <tal:superteams repeat="team context/super_teams">
47
 
          <li
48
 
            tal:condition="team/@@+restricted-membership/userCanViewMembership">
49
 
            <tal:link replace="structure team/fmt:link" />
50
 
          </li>
51
 
        </tal:superteams>
52
 
      </ul>
53
 
    </tal:block>
54
 
  </div>
55
 
</body>
56
 
</html>