~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/templates/bug-subscription.pt

  • Committer: Francis J. Lacoste
  • Date: 2011-04-27 21:40:03 UTC
  • mto: This revision was merged to the branch mainline in revision 12971.
  • Revision ID: francis.lacoste@canonical.com-20110427214003-iiqhcyyswppyqjsx
Change the default timeout to production value, improved options documentation and use only one bin above timeout value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
            tal:condition="devmode"
16
16
            tal:content="string:var yui_base='${yui}';"></script>
17
17
 
18
 
    <script type="text/javascript">
19
 
        LPS.use('base', 'node', 'oop', 'event',
20
 
                'lp.bugs.bug_notification_level',
 
18
    <script type="text/javascript" tal:condition="view/user_is_muted">
 
19
        LPS.use('base', 'node', 'oop', 'event', 'lp.bugs.bug_subscription',
21
20
            function(Y) {
22
 
                Y.on('domready', function () {
23
 
                    Y.lp.bugs.bug_notification_level.setup();
24
 
                });
25
 
            });
 
21
            Y.on(
 
22
              'domready',
 
23
              Y.lp.bugs.bug_subscription.set_up_bug_notification_level_field);
 
24
        });
26
25
    </script>
27
 
 
28
 
    <!-- It normally makes sense for form labels to be bold, but since this
29
 
         form consists only of radio buttons, there's nothing but labels so we
30
 
         just get wall-to-wall bold.  This rule turns the bold off. -->
31
 
    <style type="text/css">
32
 
      form table label {
33
 
          font-weight: normal !important;
34
 
      }
35
 
    </style>
36
 
 
37
26
  </metal:block>
38
27
 
39
28
<body>