# HG changeset patch # User Daniele Nicolodi # Date 1313260044 -7200 # Node ID 1bfd1f5ec9baf7b1c6a90475f4f970f5d25e6c62 # Parent 2850a914aef9a81841be79ecf37f87064d694629 Show user permissions in user management view. diff -r 2850a914aef9 -r 1bfd1f5ec9ba src/ltpdarepo/templates/users/view.html --- a/src/ltpdarepo/templates/users/view.html Sat Aug 13 20:27:24 2011 +0200 +++ b/src/ltpdarepo/templates/users/view.html Sat Aug 13 20:27:24 2011 +0200 @@ -1,9 +1,38 @@ {% import 'forms.html' as forms %} {% extends "layout.html" %} +{% block head %} + + +{% endblock %} {% block title %}User {{ username }}{% endblock %} {% block body %}

User «{{ username }}»

{{ forms.view(form) }} +

Permissions: show

+ + + {% for db, p in permissions.iteritems() %} + + + + + + + + {% endfor %} +