Skip to content

Commit

Permalink
Change error message when waiting for location assert (#655)
Browse files Browse the repository at this point in the history
* Change error message when waiting for location assert

Change error message to "Awaiting Location Assertion" when not set

* Update device_info.html

* Update device_info.html

* Update helium_info.html
  • Loading branch information
shawaj authored Oct 12, 2023
1 parent ec4dcfa commit fd8bf68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw_diag/templates/device_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ <h3 class="text-center mb-4">Device Information</h3>
<h4 class="text-center mb-4">Overall Status:
{% if diagnostics.PF %}
<span class="text-success">All Ok</span>
{% elif diagnostics.RE == 'UN123' or diagnostics.RE == 'UNKNOWN' %}
<span class="text-warning">Awaiting Location Assertion</span>
{% else %}
<span class="text-danger">Errors Found</span>
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions hw_diag/templates/helium_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ <h3 class="text-center mb-4">Helium Information</h3>
<h4 class="text-center mb-4">Helium Status:
{% if diagnostics.PF %}
<span class="text-success">All Ok</span>
{% elif diagnostics.RE == 'UN123' or diagnostics.RE == 'UNKNOWN' %}
<span class="text-warning">Awaiting Location Assertion</span>
{% else %}
<span class="text-danger">Errors Found</span>
{% endif %}
Expand Down

0 comments on commit fd8bf68

Please sign in to comment.