You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: dsmr_frontend/templates/dsmr_frontend/statistics.html
+7-5
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@
11
11
<sectionclass="content">
12
12
{% if not capabilities.any %}
13
13
<divclass="alert alert-danger" role="alert">
14
-
<spanclass="fas fa-exclamation fa-2x"></span> {% blocktrans %}No data found. Please make sure the datalogger is up and running and the backend process is running as well.{% endblocktrans %}
15
-
</div>
14
+
<spanclass="fas fa-exclamation fa-2x"></span> {% blocktrans %}No data found. Please make sure the datalogger is up and running and the backend process is running as well.{% endblocktrans %}</div>
16
15
{% endif %}
17
16
18
17
{% if capabilities.any %}
@@ -156,14 +155,15 @@
156
155
</div>
157
156
</div>
158
157
159
-
{% if electricity_statistics %}
160
158
<divclass="row">
161
159
<divclass="col-md-12">
162
160
<divclass="panel">
163
161
<headerclass="panel-heading">
164
-
{% trans "All time highs" %}
162
+
{% trans "All time highs & lows" %}
165
163
</header>
166
164
<divclass="panel-body">
165
+
166
+
{% if electricity_statistics and datalogger_settings.track_phases %}
167
167
<tableclass="table table-condensed">
168
168
{% if electricity_statistics.highest_usage_l1_value %}
169
169
<tr>
@@ -267,11 +267,13 @@
267
267
</tr>
268
268
{% endif %}
269
269
</table>
270
+
{% else %}
271
+
<small>{% blocktrans %}Enable "Track electricity phases" in the Datalogger Configuration to track this data.{% endblocktrans %}</small>
0 commit comments