summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates
diff options
context:
space:
mode:
authorChristian Hofmaier2017-03-29 11:31:47 +0200
committerChristian Hofmaier2017-03-29 11:31:47 +0200
commit7bb3fdb8520dbeeedcc8862f8fdafc5223089199 (patch)
tree364bdf57b91aafc8eb8e30ebed2c0256073cfde3 /modules-available/permissionmanager/templates
parent[permission-manager] changed include/exclude to all/selected (diff)
downloadslx-admin-7bb3fdb8520dbeeedcc8862f8fdafc5223089199.tar.gz
slx-admin-7bb3fdb8520dbeeedcc8862f8fdafc5223089199.tar.xz
slx-admin-7bb3fdb8520dbeeedcc8862f8fdafc5223089199.zip
[permission-manager] first fill of location table
Diffstat (limited to 'modules-available/permissionmanager/templates')
-rw-r--r--modules-available/permissionmanager/templates/locationsTable.html17
1 files changed, 14 insertions, 3 deletions
diff --git a/modules-available/permissionmanager/templates/locationsTable.html b/modules-available/permissionmanager/templates/locationsTable.html
index bd3b7f88..e170cd02 100644
--- a/modules-available/permissionmanager/templates/locationsTable.html
+++ b/modules-available/permissionmanager/templates/locationsTable.html
@@ -2,12 +2,23 @@
<div class="col-md-12">
<table id="locationsTable" class="table table-condensed table-hover">
<thead>
-
+ <tr>
+ <th data-sort="string">{{lang_Locations}}</th>
+ <th>{{lang_Roles}}</th>
+ </tr>
</thead>
<tbody>
-
-
+ {{#location}}
+ <tr>
+ <td>{{name}}</td>
+ <td>
+ {{#role}}
+ <span class="label label-default customSpanMargin">{{.}}</span>
+ {{/role}}
+ </td>
+ </tr>
+ {{/location}}
</tbody>
</table>
</div>