summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/templates/location-subnets.html
diff options
context:
space:
mode:
authorSimon Rettberg2021-03-17 15:54:07 +0100
committerSimon Rettberg2021-03-17 15:54:07 +0100
commitaaa738c7ffe5dfdc2e258d521b94117168c51943 (patch)
treec53d2d662bfa3af45bb85aeda7fa543ab9ead522 /modules-available/locations/templates/location-subnets.html
parent[locations/rebootcontrol] Change ENUM constants; display next event (diff)
downloadslx-admin-aaa738c7ffe5dfdc2e258d521b94117168c51943.tar.gz
slx-admin-aaa738c7ffe5dfdc2e258d521b94117168c51943.tar.xz
slx-admin-aaa738c7ffe5dfdc2e258d521b94117168c51943.zip
[locations] Add permission for openingtimes
Diffstat (limited to 'modules-available/locations/templates/location-subnets.html')
-rw-r--r--modules-available/locations/templates/location-subnets.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/templates/location-subnets.html b/modules-available/locations/templates/location-subnets.html
index 8a9b1c99..80e63abf 100644
--- a/modules-available/locations/templates/location-subnets.html
+++ b/modules-available/locations/templates/location-subnets.html
@@ -87,7 +87,7 @@
{{/next_action}}
</div>
<div class="col-md-7 text-right">
- <button type="button" class="btn btn-default" data-toggle="modal" data-target="#openingTimesModal{{locationid}}" onclick="loadOpeningTimes('{{locationid}}')">
+ <button {{perms.location.edit.openingtimes.disabled}} type="button" class="btn btn-default" data-toggle="modal" data-target="#openingTimesModal{{locationid}}" onclick="loadOpeningTimes('{{locationid}}')">
<span class="glyphicon glyphicon-time"></span>
{{lang_openingTime}}
</button>