Administration interface stuff

master
seba 13 years ago
parent 7922d3254c
commit 262cacdd72

@ -0,0 +1,11 @@
{% extends "admin/base.html" %}
{% load i18n %}
{% block title %}{{ title }} | Kassenverwaltung{% endblock %}
{% block branding %}
<!-- <h1 id="site-name"><a href="/admin/">Kassensystemverwaltung</a></h1> -->
<nobr><h1 id="site-name">Kassensystemverwaltung</h1></nobr>
{% endblock %}
{% block nav-global %}{% endblock %}

@ -3,6 +3,9 @@
<li><a href="/store/">Einkaufen</a></li>
<li><a href="/transaction/">Konto</a></li>
<li><a href="/store/history/">Frühere Einkäufe</a></li>
{% if user.is_staff %}
<li><a href="/admin/">Administration</a></li>
{% endif %}
<li><a href="/user/logout/">Abmelden</a></li>
</ul>
<span class="balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span>

Loading…
Cancel
Save