summaryrefslogtreecommitdiff
path: root/templates/apps/name/acls.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/apps/name/acls.html')
-rw-r--r--templates/apps/name/acls.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/apps/name/acls.html b/templates/apps/name/acls.html
new file mode 100644
index 0000000..89bbdc2
--- /dev/null
+++ b/templates/apps/name/acls.html
@@ -0,0 +1,14 @@
+{% extends "edit.html" %}
+{% load permdisplay %}
+{% block beforeform %}
+<h1>Permissions on {{name}}</h1>
+<table style="margin-bottom: 20px;">
+{% for ace in acl %}
+<tr>
+ <td>Members of <a href="/name/id/{{ace.dst.id}}">{{ace.dst}} ({{ace.dst.short}})</a></td>
+ <td>{{ace.data|permdisplay}}</td>
+ <td><a href="/namelink/{{ace.id}}/remove"><span class="ui-icon ui-icon-trash"></span></td>
+</tr>
+{% endfor %}
+</table>
+{% endblock %} \ No newline at end of file