Skip to content

Commit

Permalink
Merge pull request #2149 from stefanseefeld/tags
Browse files Browse the repository at this point in the history
Expose builder.tags to web templates.
  • Loading branch information
Mikhail Sobolev committed Jun 28, 2016
2 parents 9378c5c + 7ffd7d0 commit b135467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions master/buildbot/status/web/builder.py
Expand Up @@ -634,6 +634,7 @@ def keep_count(statuses, builderName):
base_builders_url = path_to_root(req) + "builders/"
for bn in builders:
bld = {'link': base_builders_url + urllib.quote(bn, safe=''),
'tags': status.getBuilder(bn).tags,
'name': bn}
bs.append(bld)

Expand Down
1 change: 1 addition & 0 deletions master/buildbot/status/web/grid.py
Expand Up @@ -90,6 +90,7 @@ def builder_cxt(self, request, builder):

cxt = {'url': path_to_builder(request, builder),
'name': builder.getName(),
'tags': builder.tags,
'state': state,
'n_pending': n_pending}

Expand Down

0 comments on commit b135467

Please sign in to comment.