summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates
diff options
context:
space:
mode:
authorChristian Hofmaier2020-10-13 18:24:24 +0200
committerChristian Hofmaier2020-10-13 18:24:24 +0200
commit100e75084060b6e23dc90f66210ec4c48c629931 (patch)
treef8bae8e827301c920c35e4468165b98f50da1e20 /modules-available/locationinfo/templates
parent[locations] install: Make openingtime migration a bit more robust (diff)
downloadslx-admin-100e75084060b6e23dc90f66210ec4c48c629931.tar.gz
slx-admin-100e75084060b6e23dc90f66210ec4c48c629931.tar.xz
slx-admin-100e75084060b6e23dc90f66210ec4c48c629931.zip
[locationinfo] add forward link to location module
+ delete some unused code
Diffstat (limited to 'modules-available/locationinfo/templates')
-rw-r--r--modules-available/locationinfo/templates/ajax-config-location.html13
-rw-r--r--modules-available/locationinfo/templates/page-locations.html1
2 files changed, 11 insertions, 3 deletions
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 @@
<input type="hidden" name="locationid" value="{{id}}">
<div id="settings-outer">
<h3>{{lang_openingTime}}</h3>
+
{{^expertMode}}
<div id="simple-mode">
@@ -79,13 +80,21 @@
<div class="row">
<div class="col-sm-6">{{lang_openingTime}}</div>
<div class="col-sm-4">{{lang_closingTime}}</div>
- <div class="col-sm-2 text-right">{{lang_delete}}</div>
</div>
</div>
- <hr>
</div>
</div>
+<div class="row" style="margin-top: 20px; margin-right: 15px;">
+ <a class="pull-right" title="{{lang_goToLocationWarning}}" href='?do=locations#{{id}}'>
+ <span class="glyphicon glyphicon-new-window">
+ {{lang_goToLocation}}
+ </span>
+ </a>
+</div>
+<hr>
+
+
<h3>{{lang_remoteSchedule}}</h3>
<div class="row">
<div class="col-sm-3">
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);
});
//--></script>