Skip to content

Commit

Permalink
Merge pull request #6143 from qhuynh96/favicon
Browse files Browse the repository at this point in the history
Add yellow favicons for incomplete jobs
  • Loading branch information
k8s-ci-robot authored Jan 4, 2018
2 parents 2b70f2a + ab134e8 commit 63ea4e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added gubernator/static/favicon-yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion gubernator/templates/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
{% block title %}{{job}} #{{build}} Results{% endblock %}
% block head
{{super()}}
% if finished and finished['result'] == 'SUCCESS' and not res['failed']
% if started and not res['failed']
<link rel="icon" type="image/png" href="{{'favicon-yellow.png'|static}}" />
% elif finished and finished['result'] == 'SUCCESS' and not res['failed']
<link rel="icon" type="image/png" href="{{'favicon-green.png'|static}}" />
% endif
% endblock
Expand Down

0 comments on commit 63ea4e0

Please sign in to comment.