Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ui/src/app/edge/live/energymonitor/energymonitor.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
<ion-label>
{{"EDGE.INDEX.ENERGYMONITOR.TITLE" | translate}}
</ion-label>
<ion-button slot="end" fill="clear" id="gauge-info-trigger">
<ion-icon slot="icon-only" name="information-circle-outline" color="medium"></ion-icon>
</ion-button>
<ion-popover trigger="gauge-info-trigger" triggerAction="click">
<ng-template>
<ion-content class="ion-padding">
<p style="max-width: 300px; margin: 0;">
{{"EDGE.INDEX.ENERGYMONITOR.GAUGE_INFO" | translate}}
</p>
</ion-content>
</ng-template>
</ion-popover>
</ion-item>
<ion-card-content>
<energymonitor-chart [currentData]="currentData"></energymonitor-chart>
Expand Down
3 changes: 2 additions & 1 deletion ui/src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"STORAGE_DISCHARGE": "Speicher-Entladung",
"TITLE": "Energiemonitor",
"ERROR_TEMPORARY": "Fehler beim Abruf der Daten. Bitte versuchen Sie es später noch einmal.",
"ERROR_TOO_LONG": ""
"ERROR_TOO_LONG": "",
"GAUGE_INFO": "Die Balken im Monitor zeigen, wie sich die aktuellen Werte im Verhältnis zu ihren historischen Maximalwerten verhalten. Sie stellen nicht das Echtzeit-Leistungsverteilungsverhältnis dar."
},
"WIDGETS": {
"AUTARCHY_INFO": "Die Autarkie gibt an zu wie viel Prozent die aktuell genutzte Leistung durch Erzeugung und Speicherentladung gedeckt wird.",
Expand Down
3 changes: 2 additions & 1 deletion ui/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"STORAGE_DISCHARGE": "Storage-Discharge",
"TITLE": "Energy monitor",
"ERROR_TEMPORARY": "Error while fetching data. Please try again later.",
"ERROR_TOO_LONG": ""
"ERROR_TOO_LONG": "",
"GAUGE_INFO": "The gauge bars show how current values compare to their historical maximum. They do not represent the real-time power distribution ratio."
},
"WIDGETS": {
"AUTARCHY_INFO": "Autarchy indicates the percentage of current power that can be covered by generation and storage discharge.",
Expand Down