~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to templates/person/latest_testers_script.html

  • Committer: Marc Tardif
  • Date: 2011-05-11 11:54:18 UTC
  • Revision ID: marc.tardif@canonical.com-20110511115418-12lv84nvado8pvme
Added xunit package, tools script and corresponding packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% comment %}
2
 
Copyright 2010 Canonical Ltd.  This software is licensed under the
 
2
Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
3
3
GNU Affero General Public License version 3 (see the file  LICENSE).
4
4
{% endcomment %}
5
5
 
6
6
<script type="text/javascript">
7
7
{% if project %}
8
 
var latest_testers_uri = '{% url lpx.results.views.project project.name %}';
 
8
var latest_testers_uri = '{% url lpresults.tracker.views.project project.name %}';
9
9
{% else %}
10
10
var latest_testers_uri = 'people';
11
11
{% endif %}
12
 
LPS.use('node', 'lpx.results.command.runner', 'lpx.results.command.repeater', 'lpx.results.ui.tabler', function(Y) {
 
12
LPS.use('node', 'lpresults.command.runner', 'lpresults.command.repeater', 'lpresults.ui.tabler', function(Y) {
13
13
    Y.on("domready", function() {
14
 
        var command = new Y.lpx.results.command.LPRunner({uri: latest_testers_uri, operation_name: 'getLatestTesters'});
15
 
        Y.one('#latest_testers_table').plug(Y.lpx.results.ui.Tabler, {command: command});
16
 
        command.plug(Y.lpx.results.command.DynamicRepeater);
 
14
        var command = new Y.lpresults.command.LPRunner({uri: latest_testers_uri, operation_name: 'getLatestTesters'});
 
15
        Y.one('#latest_testers_table').plug(Y.lpresults.ui.Tabler, {command: command});
 
16
        command.plug(Y.lpresults.command.DynamicRepeater);
17
17
    });
18
18
});
19
19
</script>