Skip to content

Commit

Permalink
[frontend] fix chroot states in monitor (RhBug: 1306182)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Mar 8, 2016
1 parent 3628b87 commit 9e53dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "coprs/detail/monitor.html" %}

{% from "_helpers.html" import package_href, build_href, build_state %}
{% from "_helpers.html" import package_href, build_href, build_state_text %}
{% from "coprs/detail/_build_states.html" import build_states %}

{% set selected_monitor_tab = "detailed" %}
Expand Down Expand Up @@ -50,7 +50,7 @@ <h2> Detailed Build Monitor </h2>
<a href="{{ build_href(build) }}">

<small> {{ build.id }} </small> <br>
{{ build_state (build) }}
{{ build_state_text(build_chroot.state) }}
<small class="text-muted"> {{ build.pkg_version }} </small>
</a>
{% else %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "coprs/detail/monitor.html" %}

{% from "_helpers.html" import package_href, build_href, build_state %}
{% from "_helpers.html" import package_href, build_href, build_state_text %}
{% from "coprs/detail/_build_states.html" import build_states %}

{% set selected_monitor_tab = "simple" %}
Expand Down Expand Up @@ -48,7 +48,7 @@ <h2> Simple Build Monitor </h2>
{% if build_chroot %}
{% set build = build_chroot.build %}
<a href="{{ build_href(build) }}">
{{ build_state(build) }}
{{ build_state_text(build_chroot.state) }}
</a>
{% else %}
-
Expand Down

0 comments on commit 9e53dd6

Please sign in to comment.