From 9e493430d8292b908f6739ddc7226966941e87ce Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Thu, 26 Jul 2018 17:28:30 +0200 Subject: [PATCH] Battery charge interval was not editable and not shown anywhere --- localization/de.php | 2 ++ views/batteries.blade.php | 4 ++++ views/batteryform.blade.php | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/localization/de.php b/localization/de.php index 1f78b123..5cfecd83 100644 --- a/localization/de.php +++ b/localization/de.php @@ -186,6 +186,8 @@ return array( 'Unknown' => 'Unbekannt', 'Filter by habit' => 'Nach Gewohnheit filtern', 'Habits analysis' => 'Gewohnheiten Analyse', + '0 means suggestions for the next charge cycle are disabled' => '0 bedeutet dass Vorschläge für den nächsten Ladezyklus deaktiviert sind', + 'Charge cycle interval (days)' => 'Ladezyklusintervall (Tage)', //Constants 'manually' => 'Manuell', diff --git a/views/batteries.blade.php b/views/batteries.blade.php index d7115315..17bfd658 100644 --- a/views/batteries.blade.php +++ b/views/batteries.blade.php @@ -32,6 +32,7 @@ {{ $L('Name') }} {{ $L('Description') }} {{ $L('Used in') }} + {{ $L('Charge cycle interval (days)') }} @@ -54,6 +55,9 @@ {{ $battery->used_in }} + + {{ $battery->charge_interval_days }} + @endforeach diff --git a/views/batteryform.blade.php b/views/batteryform.blade.php index be3da8d0..292144d8 100644 --- a/views/batteryform.blade.php +++ b/views/batteryform.blade.php @@ -37,6 +37,12 @@ +
+ + +
{{ $L('This cannot be negative') }}
+
+