diff --git a/hw_diag/templates/thix_dashboard.html b/hw_diag/templates/thix_dashboard.html index 2be56e0b..51db7f55 100644 --- a/hw_diag/templates/thix_dashboard.html +++ b/hw_diag/templates/thix_dashboard.html @@ -14,23 +14,31 @@
Gateway Address | + {% if not gateway.gatewayId %} +Not Available | + {% else %}{{ gateway.gatewayId }} | + {% endif %}|||||
Gateway Owner | + {% if not gateway.owner %} +Not Available | + {% else %}{{ gateway.owner }} | + {% endif %}|||||
Explorer Link | -Not Available | +Explorer Link | +Not Available | {% else %} -Explorer Link | -+ | Explorer Link | +View on Explorer | {% endif %} @@ -62,26 +70,26 @@
Antenna Gain | -+ | Antenna Gain | {% if gateway.details %} - {{ gateway.details.antennaGain }}dBi - {% else %} - Onboard Pending - {% endif %} - ++ {{ gateway.details.antennaGain }} dBi + | + {% else %} +Onboard Pending | + {% endif %}|||
Antenna Altitude | -+ | Antenna Altitude | {% if gateway.details %} - - {{ gateway.details.altitude }}m - ++ + {{ gateway.details.altitude }} m + + | {% else %} - Onboard Pending +Onboard Pending | {% endif %} -
Last Updated: {{ diagnostics.last_updated }}
+ {% else %} +Last Updated: Never
+ {% endif %} +