Administration interface stuff

This commit is contained in:
seba 2011-09-13 20:47:15 +02:00
parent 7922d3254c
commit 262cacdd72
2 changed files with 14 additions and 0 deletions

View File

@ -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 %}

View File

@ -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>