diff --git a/passbook/admin/templates/administration/base.html b/passbook/admin/templates/administration/base.html index 9bcd6cd2b..3e0d5ba90 100644 --- a/passbook/admin/templates/administration/base.html +++ b/passbook/admin/templates/administration/base.html @@ -8,14 +8,14 @@
  • {% trans 'Overview' %}
  • -
  • +
  • {% trans 'Applications' %}
  • -
  • +
  • {% trans 'Sources' %}
  • -
  • - {% trans 'Rules' %} +
  • + {% trans 'Rules' %}
  • {% trans 'Users' %} diff --git a/passbook/admin/templates/administration/form.html b/passbook/admin/templates/administration/form.html deleted file mode 100644 index e69de29bb..000000000 diff --git a/passbook/admin/templates/administration/overview.html b/passbook/admin/templates/administration/overview.html index 2bc34f606..6ebcaa759 100644 --- a/passbook/admin/templates/administration/overview.html +++ b/passbook/admin/templates/administration/overview.html @@ -3,51 +3,53 @@ {% load i18n %} {% block content %} -
    -
    -

    - {% trans 'Applications' %} -

    -
    -

    - {{ application_count }} -

    + -
    -
    -

    - {% trans 'Providers' %} -

    - -
    -
    -

    - {% trans 'Rules' %} -

    - -
    -
    -

    - {% trans 'Users' %} -

    - diff --git a/passbook/admin/templates/administration/source/create.html b/passbook/admin/templates/administration/source/create.html new file mode 100644 index 000000000..eff352942 --- /dev/null +++ b/passbook/admin/templates/administration/source/create.html @@ -0,0 +1,11 @@ +{% extends "generic/create.html" %} + +{% load i18n %} + +{% block title %} +{% blocktrans with type=request.GET.type %}Create {{ type }}{% endblocktrans %} +{% endblock %} + +{% block above_form %} +

    {% blocktrans with type=request.GET.type %}Create {{ type }}{% endblocktrans %}

    +{% endblock %} \ No newline at end of file diff --git a/passbook/admin/templates/administration/source/list.html b/passbook/admin/templates/administration/source/list.html index 0bafa6a7c..a79a8fa27 100644 --- a/passbook/admin/templates/administration/source/list.html +++ b/passbook/admin/templates/administration/source/list.html @@ -1,18 +1,41 @@ -{% extends "generic/list.html" %} +{% extends "administration/base.html" %} {% load i18n %} +{% load utils %} -{% block above_table %} -