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).
6
6
<script type="text/javascript">
8
var latest_testers_uri = '{% url lpx.results.views.project project.name %}';
8
var latest_testers_uri = '{% url lpresults.tracker.views.project project.name %}';
10
10
var latest_testers_uri = 'people';
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);