~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
<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">

    <p metal:fill-slot="extra_top">
    An <em>answer contact</em> is implicitly subscribed to all
    questions. By checking the box below, you will receive changes
    related to all questions (written in one of your <a
    tal:attributes="href string:${request/lp:person/fmt:url}/+editlanguages"
    >preferred languages</a>) opened on <span
    tal:replace="context/displayname">Mozilla Firefox</span>, and thus
    receive mail notifications about them.
    </p>

    <div metal:fill-slot="widgets">
      <div class="row">

        <div class="field">
          <strong>Choose:</strong><br />
          <div tal:replace="structure view/widgets/want_to_be_answer_contact" />
          <label style="font-weight: normal"
              tal:attributes="for view/widgets/want_to_be_answer_contact/name">
            I want to be an answer contact for
            <span tal:replace="context/displayname">Mozilla Firefox</span>
          </label>
        </div>

      </div>

      <div class="row"
           tal:condition="view/widgets/answer_contact_teams/vocabulary">

        <div tal:define="error view/widgets/answer_contact_teams/error"
             tal:attributes="class python:error and 'error' or 'field'">
          <label>Let the following teams be an answer contact for
          <span tal:replace="context/displayname">Mozilla
          Firefox</span>:</label>
          <div id="answer-contact-teams"
               tal:content="structure view/widgets/answer_contact_teams" />
          <div tal:condition="error" class="message"
            tal:content="structure error"
          >An error message.</div>
        </div>

      </div>

    </div>

  </div>

</div>

</body>
</html>