diff --git a/passbook/core/templates/overview/index.html b/passbook/core/templates/overview/index.html index da1e10015..290e02a11 100644 --- a/passbook/core/templates/overview/index.html +++ b/passbook/core/templates/overview/index.html @@ -53,7 +53,7 @@
{% trans "Either no applications are defined, or you don't have access to any." %}
- {% if user.is_superuser %} {# TODO:use guardian permissions instead #} + {% if perms.passbook_core.add_application %} {% trans 'Create Application' %}