Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmudge committed Sep 22, 2021
1 parent 9b5bff5 commit a4b9bc2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions octoprint_dashboard/templates/dashboard_tab.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,14 @@
src="plugin/dashboard/static/img/ambient-sensor-icon.png">
<div class="inline">
<span id="HumiditySensorInfo" data-bind="text: label, attr: {title: label}"></span><br />
<!-- ko if: use_fahrenheit -->
<span id="TempSensorInfo"
data-bind="attr: { title: 'Ambient Temp Sensor' }, html: temp_sensor_temp() + '°F'"></span>
<!-- /ko -->
<!-- ko if: !(use_fahrenheit) -->
<span id="TempSensorInfo"
data-bind="attr: { title: 'Ambient Temp Sensor' }, html: temp_sensor_temp() + '°C'"></span>
<!-- /ko -->
<!-- ko if: temp_sensor_humidity -->
<span class="dashboardSmall" id="HumiditySensorInfo"
data-bind="attr: { title: 'Ambient Humidity Sensor' }, html: temp_sensor_humidity() + '%'"></span>
Expand Down

0 comments on commit a4b9bc2

Please sign in to comment.