summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates
diff options
context:
space:
mode:
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>