~brian-murray/launchpad/limited-subscriptions-page

2336 by Canonical.com Patch Queue Manager
[r=salgado] add context-relevant portlets to all the pages linked to
1
<html
3691.436.22 by Mark Shuttleworth
Clean up mentoring text and templates for 1.0 UI
2
  xmlns="http://www.w3.org/1999/xhtml"
4939.2.3 by Curtis Hovey
Added namespaces to bug* templates and fixed markup.
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"
3691.436.22 by Mark Shuttleworth
Clean up mentoring text and templates for 1.0 UI
6
  xml:lang="en"
7
  lang="en"
4939.2.3 by Curtis Hovey
Added namespaces to bug* templates and fixed markup.
8
  dir="ltr"
9309.1.2 by Abel Deuring
side portlet remmoved on reviewer's request
9
  metal:use-macro="view/macro:page/main_only"
4939.2.3 by Curtis Hovey
Added namespaces to bug* templates and fixed markup.
10
  i18n:domain="malone"
11
>
3691.436.22 by Mark Shuttleworth
Clean up mentoring text and templates for 1.0 UI
12
13
<body>
9309.1.1 by Abel Deuring
bug-subscription.pt converted to 3.0 layout
14
  <div metal:fill-slot="main">
15
16
    <div id="maincontent">
17
      <div id="nonportlets" class="readable">
18
        <h1 tal:define="subscribed view/userIsSubscribed">
19
          <tal:action condition="subscribed">Unsubscribe from</tal:action>
20
          <tal:action condition="not:subscribed">Subscribe to</tal:action>
21
          bug #<span tal:replace="context/bug/id" />
22
        </h1>
23
24
        <p tal:condition="not: view/userIsSubscribed">
25
          If you subscribe to a bug it shows up on your
26
          personal pages, you receive copies of all comments by email,
27
          and notification of any changes to the status of the bug upstream
28
          and in different distributions.
29
        </p>
30
31
        <p tal:condition="view/shouldShowUnsubscribeFromDupesWarning"
32
           class="warning message">
33
          Unsubscribing yourself or a team from a bug also unsubscribes from
34
          duplicates.
35
        </p>
36
37
        <form action="." method="POST">
38
39
          <div class="field">
40
            <div>
41
              <div tal:content="structure view/subscription_widget">
42
                <input type="radio" />
43
              </div>
44
            </div>
45
46
          </div>
47
48
          <div class="actions">
11486 by Brian Murray
redirect to +subscriptions if continuing with an unsubscribe request
49
            <input type="hidden" name="next_url"
11489 by Brian Murray
ensure continue and cancel work regardless the domain
50
                   tal:condition="view/next_url | nothing"
51
                   tal:attributes="value view/next_url" />
9309.1.1 by Abel Deuring
bug-subscription.pt converted to 3.0 layout
52
            <input tal:condition="not: view/userIsSubscribed"
53
                   type="submit"
54
                   name="subscribe"
55
                   value="Continue" />
56
            <input tal:condition="view/userIsSubscribed"
57
                   type="submit"
58
                   name="unsubscribe"
59
                   value="Continue" />
11489 by Brian Murray
ensure continue and cancel work regardless the domain
60
                   or <a tal:condition="view/cancel_url | nothing"
61
                         tal:attributes="href view/cancel_url">Cancel</a>
9309.1.1 by Abel Deuring
bug-subscription.pt converted to 3.0 layout
62
          </div>
63
        </form>
64
3498.7.1 by Bjorn Tillenius
checkpoint commit in order to merge in rf.
65
      </div>
9309.1.1 by Abel Deuring
bug-subscription.pt converted to 3.0 layout
66
    </div>
67
6918.1.4 by Gavin Panella
Fix template lint by switching to onecolumn layout.
68
  </div>
2396 by Canonical.com Patch Queue Manager
[r=spiv] launchpad support tracker
69
2336 by Canonical.com Patch Queue Manager
[r=salgado] add context-relevant portlets to all the pages linked to
70
</body>
71
</html>