Add launchpad bugs links to the home page failed runs
This commit adds launchpad bugs links to the home page failed runs. Change-Id: I9859b4bedd6db02897bf9330e0f879b4d63d8e77 Closes-Bug: #1586508
This commit is contained in:
parent
0530b663d1
commit
63a195b8fe
|
@ -150,7 +150,7 @@ function HomeController(
|
|||
if (vm.recentRuns[link].bugs.length === 0) {
|
||||
vm.recentRuns[link].bugs = '';
|
||||
} else {
|
||||
vm.recentRuns[link].bugs = vm.recentRuns[link].bugs.join();
|
||||
vm.recentRuns[link].bugs = [].concat.apply([], vm.recentRuns[link].bugs);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -90,7 +90,11 @@
|
|||
<td>{{ value.fails.length }}</td>
|
||||
<td>
|
||||
<span ng-if="!!value.bugs">
|
||||
{{ scope.value.bugs}}
|
||||
<a ng-repeat="bug in value.bugs"
|
||||
href="https://launchpad.net/bugs/{{bug}}"
|
||||
uib-tooltip="Launchpad Bugs: {{bug}}"
|
||||
target="_blank">{{bug}} <fa name="external-link"></fa>
|
||||
</a>
|
||||
</span>
|
||||
<span ng-if="!value.bugs">-</span>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue