Added API access display to the profile page

This commit is contained in:
2011-12-04 03:46:48 +00:00
parent 39d588e6f9
commit 427fdcc2dd
5 changed files with 74 additions and 18 deletions

View File

@@ -0,0 +1,7 @@
<div class="content">
{% for x, y in access %}
{% if y %}
<span class="label {% if y %}success{% else %}important{% endif %}">{{ x }}</span><br/>
{% endif %}
{% endfor %}
</div>