summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/page-locations.html
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-05 14:17:36 +0100
committerSimon Rettberg2018-03-05 14:17:36 +0100
commitda8870e85f59dc8e83d2c4f50432f688080cb1d1 (patch)
treea36e939019e32ae8954137c02334bcf4b332f170 /modules-available/locationinfo/templates/page-locations.html
parent[locationinfo] Add permission entry to runmode config (diff)
downloadslx-admin-da8870e85f59dc8e83d2c4f50432f688080cb1d1.tar.gz
slx-admin-da8870e85f59dc8e83d2c4f50432f688080cb1d1.tar.xz
slx-admin-da8870e85f59dc8e83d2c4f50432f688080cb1d1.zip
[locationinfo] Add permissions
Diffstat (limited to 'modules-available/locationinfo/templates/page-locations.html')
-rw-r--r--modules-available/locationinfo/templates/page-locations.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/locationinfo/templates/page-locations.html b/modules-available/locationinfo/templates/page-locations.html
index 37d8dd96..94c4cd40 100644
--- a/modules-available/locationinfo/templates/page-locations.html
+++ b/modules-available/locationinfo/templates/page-locations.html
@@ -17,10 +17,14 @@
<tr>
<td>
<div style="display:inline-block;width:{{depth}}em"></div>
+ {{#allowed}}
<a href="#" class="loc-name {{^depth}}slx-bold{{/depth}}" data-locationid="{{locationid}}">
+ {{/allowed}}
{{locationname}}
+ {{#allowed}}
<span class="glyphicon glyphicon-edit"></span>
</a>
+ {{/allowed}}
</td>
<td {{#backendMissing}}class="text-danger"{{/backendMissing}}>
{{backend}}