diff --git a/passbook/core/templates/overview/base.html b/passbook/core/templates/overview/base.html deleted file mode 100644 index 53a40f611..000000000 --- a/passbook/core/templates/overview/base.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base/page.html" %} - -{% load static %} -{% load i18n %} - -{% load passbook_is_active %} -{% load passbook_utils %} - -{% block page_content %} - - {% block content %} - {% endblock %} - -{% endblock %} diff --git a/passbook/core/templates/overview/index.html b/passbook/core/templates/overview/index.html index 290e02a11..0fd2d534b 100644 --- a/passbook/core/templates/overview/index.html +++ b/passbook/core/templates/overview/index.html @@ -1,65 +1,53 @@ -{% extends "overview/base.html" %} - {% load i18n %} -{% block head %} -{{ block.super }} - -{% endblock %} - -{% block content %} - - - - - {% trans 'Applications' %} - - - - - {% if applications %} - - {% for app in applications %} - - - {% if not app.meta_icon_url %} - - {% else %} - + + + + + + {% trans 'Applications' %} + + + + + {% if applications %} + + {% for app in applications %} + + + {% if not app.meta_icon_url %} + + {% else %} + + {% endif %} + + + {{ app.name }} + + {{ app.meta_publisher }} + + + + {% trans app.meta_description|truncatewords:35 %} + + + {% endfor %} + + {% else %} + + + + {% trans 'No Applications available.' %} + + {% trans "Either no applications are defined, or you don't have access to any." %} + + {% if perms.passbook_core.add_application %} + + {% trans 'Create Application' %} + {% endif %} - - {{ app.name }} - - {{ app.meta_publisher }} - - - - {% trans app.meta_description|truncatewords:35 %} - - - {% endfor %} - - {% else %} - - - - {% trans 'No Applications available.' %} - - {% trans "Either no applications are defined, or you don't have access to any." %} - - {% if perms.passbook_core.add_application %} - - {% trans 'Create Application' %} - - {% endif %} - - {% endif %} - -{% endblock %} + {% endif %} + +
{{ app.name }}