summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/locationstable.html
diff options
context:
space:
mode:
authorUdo Walter2017-11-21 17:24:44 +0100
committerUdo Walter2017-11-21 17:24:44 +0100
commit3d88bb5a4223d3fdc9084eee3e75defc8da674b0 (patch)
tree9d15a1ccafa5ec3ee97f991637145e524e70e37c /modules-available/permissionmanager/templates/locationstable.html
parent[dozmod] implemented new permission system to module for: deleting expired vm... (diff)
downloadslx-admin-3d88bb5a4223d3fdc9084eee3e75defc8da674b0.tar.gz
slx-admin-3d88bb5a4223d3fdc9084eee3e75defc8da674b0.tar.xz
slx-admin-3d88bb5a4223d3fdc9084eee3e75defc8da674b0.zip
[permissionmanager] added key relationships to install script;
changed nested php for loops to sql code; standardized sql column naming; small bugfixes;
Diffstat (limited to 'modules-available/permissionmanager/templates/locationstable.html')
-rw-r--r--modules-available/permissionmanager/templates/locationstable.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules-available/permissionmanager/templates/locationstable.html b/modules-available/permissionmanager/templates/locationstable.html
index 79b0a076..dcfefa94 100644
--- a/modules-available/permissionmanager/templates/locationstable.html
+++ b/modules-available/permissionmanager/templates/locationstable.html
@@ -3,9 +3,9 @@
<div class="col-md-4">
<select multiple name="roles[]" id="select-role">
<option value>{{lang_selectizePlaceholder}}</option>
- {{#roles}}
- <option value="{{roleId}}">{{roleName}}</option>
- {{/roles}}
+ {{#allroles}}
+ <option value="{{roleid}}">{{rolename}}</option>
+ {{/allroles}}
</select>
</div>
</div>
@@ -23,10 +23,10 @@
<tbody>
{{#location}}
<tr data-selectizeCount='0'>
- <td>{{locname}}</td>
+ <td>{{locationpad}} {{locationname}}</td>
<td>
{{#roles}}
- <span class="label label-default customSpanMargin roleId-{{roleId}}">{{roleName}}</span>
+ <span class="label label-default customSpanMargin roleid-{{roleid}}">{{rolename}}</span>
{{/roles}}
</td>
</tr>