Kontostand auf Konto-seite hinzugefuegt.

This commit is contained in:
tkroenert 2011-10-31 23:23:38 +01:00
parent c2d144ea91
commit 86a9ecd598
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
{% extends "base.html" %}
{% block "content" %}
{% if user.get_profile.balance > 0 %}
<h3>Dein Kontostand: {{ user.get_profile.balance|floatformat:2 }}</h3>
{% else %}
<h3><font color="red">Dein Kontostand: {{ user.get_profile.balance|floatformat:2 }}</font></h3>
{% endif %}
{% if transacted %}
{% if error %}
<font color="red"><h1>Es ist beim Aufladen ein Fehler aufgetreten.</h1></font>