~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/templates/distributionsourcepackage-publishinghistory.pt

  • Committer: Abel Deuring
  • Date: 2011-07-27 16:22:36 UTC
  • mfrom: (13539 devel)
  • mto: This revision was merged to the branch mainline in revision 13587.
  • Revision ID: abel.deuring@canonical.com-20110727162236-m5e4e45257ehq65r
devel merged

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
<body>
11
11
 
 
12
<div metal:fill-slot="head_epilogue">
 
13
  <script type="text/javascript">
 
14
    LPS.use('node', 'lp.app.widgets.expander', function(Y) {
 
15
      Y.on('domready', function() {
 
16
        var all_expanders = Y.all('.expander-icon');
 
17
        all_expanders.each(function(icon) {
 
18
          var base_id = icon.get('id').replace('-expander', '');
 
19
          var content_node = Y.one('#' + base_id);
 
20
          var animate_node = content_node.one('ul');
 
21
          var expander = new Y.lp.app.widgets.expander.Expander(
 
22
            icon, content_node, { animate_node: animate_node });
 
23
          expander.setUp();
 
24
        });
 
25
      });
 
26
    });
 
27
  </script>
 
28
</div>
 
29
 
12
30
<div metal:fill-slot="main">
13
31
 
14
32
  <div class="top-portlet">