| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 | 5 |
| 6 This in an HTML Import-able file that contains the definition | 6 This in an HTML Import-able file that contains the definition |
| 7 of the following elements: | 7 of the following elements: |
| 8 | 8 |
| 9 <bot-list> | 9 <bot-list> |
| 10 | 10 |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 }, | 390 }, |
| 391 | 391 |
| 392 _deviceClass: function(device) { | 392 _deviceClass: function(device) { |
| 393 if (!device.okay) { | 393 if (!device.okay) { |
| 394 return "bad-device"; | 394 return "bad-device"; |
| 395 } | 395 } |
| 396 return ""; | 396 return ""; |
| 397 }, | 397 }, |
| 398 | 398 |
| 399 _taskLink: function(data) { | 399 _taskLink: function(data) { |
| 400 // TODO(kjlubick): Migrate this to /newui/ when ready |
| 400 if (data && data.task_id) { | 401 if (data && data.task_id) { |
| 401 return "/user/task/" + data.task_id; | 402 return "/user/task/" + data.task_id; |
| 402 } | 403 } |
| 403 return undefined; | 404 return undefined; |
| 404 } | 405 } |
| 405 | 406 |
| 406 }); | 407 }); |
| 407 })(); | 408 })(); |
| 408 </script> | 409 </script> |
| 409 </dom-module> | 410 </dom-module> |
| OLD | NEW |