From 100e75084060b6e23dc90f66210ec4c48c629931 Mon Sep 17 00:00:00 2001
From: Christian Hofmaier
Date: Tue, 13 Oct 2020 18:24:24 +0200
Subject: [locationinfo] add forward link to location module + delete some
unused code
---
.../locationinfo/templates/ajax-config-location.html | 13 +++++++++++--
.../locationinfo/templates/page-locations.html | 1 -
2 files changed, 11 insertions(+), 3 deletions(-)
(limited to 'modules-available/locationinfo/templates')
diff --git a/modules-available/locationinfo/templates/ajax-config-location.html b/modules-available/locationinfo/templates/ajax-config-location.html
index f7e96b9d..2ae049d1 100644
--- a/modules-available/locationinfo/templates/ajax-config-location.html
+++ b/modules-available/locationinfo/templates/ajax-config-location.html
@@ -1,6 +1,7 @@
{{lang_openingTime}}
+
{{^expertMode}}
@@ -79,13 +80,21 @@
{{lang_openingTime}}
{{lang_closingTime}}
-
{{lang_delete}}
-
+
+
+
+
{{lang_remoteSchedule}}
diff --git a/modules-available/locationinfo/templates/page-locations.html b/modules-available/locationinfo/templates/page-locations.html
index 9635268c..26f0b621 100644
--- a/modules-available/locationinfo/templates/page-locations.html
+++ b/modules-available/locationinfo/templates/page-locations.html
@@ -78,7 +78,6 @@ document.addEventListener("DOMContentLoaded", function () {
$('#location-modal-header').text("[" + locationId + "] " + locationName);
$('#location-modal').modal('show').find('.modal-body').load("?do=locationinfo&action=config-location&id=" + locationId);
});
- $('#settings-form').submit(submitLocationSettings);
});
//-->
--
cgit v1.2.3-55-g7522