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 recommended_test_projects_uri = '{% url lpx.results.views.person person.name %}';
8
var recommended_test_projects_uri = '{% url lpresults.tracker.views.person person.name %}';
11
var recommended_test_projects_uri = '{% url lpx.results.views.project project.name %}';
11
var recommended_test_projects_uri = '{% url lpresults.tracker.views.project project.name %}';
13
LPS.use('node', 'lpx.results.command.runner', 'lpx.results.command.repeater', 'lpx.results.ui.tabler', function(Y) {
13
LPS.use('node', 'lpresults.command.runner', 'lpresults.command.repeater', 'lpresults.ui.tabler', function(Y) {
14
14
Y.on("domready", function() {
15
var command = new Y.lpx.results.command.LPRunner({uri: recommended_test_projects_uri, operation_name: 'getRecommendedTestProjects'});
16
Y.one('#recommended_test_projects_table').plug(Y.lpx.results.ui.Tabler, {command: command});
17
command.plug(Y.lpx.results.command.DynamicRepeater);
15
var command = new Y.lpresults.command.LPRunner({uri: recommended_test_projects_uri, operation_name: 'getRecommendedTestProjects'});
16
Y.one('#recommended_test_projects_table').plug(Y.lpresults.ui.Tabler, {command: command});
17
command.plug(Y.lpresults.command.DynamicRepeater);