Skip to content

Commit

Permalink
Merge pull request #4657 from tardyp/owners_ui
Browse files Browse the repository at this point in the history
display owners instead of owner in the UI
  • Loading branch information
tardyp committed Mar 14, 2019
2 parents 9f3e449 + ee1f853 commit 19417a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions master/buildbot/newsfragments/owners.bugfix
@@ -0,0 +1 @@
The builder page UI now correctly shows the list of owners for each build.
Expand Up @@ -95,7 +95,7 @@ class Builder extends Controller
if $stateParams.numbuilds?
$scope.numbuilds = +$stateParams.numbuilds
$scope.builds = builder.getBuilds
property: ["owner", "workername"]
property: ["owners", "workername"]
limit: $scope.numbuilds
order: '-number'
$scope.buildrequests = builder.getBuildrequests(claimed:false)
Expand Down
4 changes: 2 additions & 2 deletions www/base/src/app/builders/builder/builder.tpl.jade
Expand Up @@ -10,7 +10,7 @@
tr
td(width='100px') #
td(width='150px') Submitted At
td(width='150px') Owner
td(width='150px') Owners
td Properties
tr(ng-repeat='br in buildrequests | orderBy:"-submitted_at"', ng-if="br.claimed==false" )
td
Expand All @@ -20,7 +20,7 @@
span(title="{{br.submitted_at | dateformat:'LLL'}}")
| {{br.submitted_at | timeago }}
td
span {{br.properties.owner[0]}}
span(ng-repeat="owner in br.properties.owners[0]") {{owner}}
td
uib-tab(heading="Build times")
line-plot(data="successful_builds", xattr="started_at", yattr="duration", xunit="timestamp", yunit="seconds", width=800, height=200)
Expand Down

0 comments on commit 19417a1

Please sign in to comment.