|
|
|
@ -81,14 +81,15 @@ DEVELOPMENT
@@ -81,14 +81,15 @@ DEVELOPMENT
|
|
|
|
|
{% if user.is_authenticated and user.account %} |
|
|
|
|
<div id="infoboxleft"> |
|
|
|
|
<span class="small-gray">Username:</span><br/> |
|
|
|
|
<span class="big"><b>{{ user.username }}</b></span><br/><br/> |
|
|
|
|
<span class="big"><b>{{ account.username }}</b></span><br/><br/> |
|
|
|
|
<span class="small-gray">Guthaben:</span><br/> |
|
|
|
|
<span class="big" id="credit"{% if user.account.credit < 0 %} style="color: red"{% endif %}><b>{{ user.account.credit|floatformat:2 }} €</b></span><br/> |
|
|
|
|
{% if user.account.credit < 5 %} |
|
|
|
|
<span class="small-gray" style="color: #FF5252">Achtung! Nur noch {{ user.account.credit|floatformat:2 }} € bis zum Schuldenlimit.</span> |
|
|
|
|
<span class="big" id="credit"{% if account.credit < 0 %} style="color: red"{% endif %}><b>{{ account.credit|floatformat:2 }} €</b></span><br/> |
|
|
|
|
{% if account.max_credit < 5 %} |
|
|
|
|
<span class="small-gray" style="color: #FF5252">Achtung! Nur noch {{ account.max_credit|floatformat:2 }} € bis zum Schuldenlimit.</span> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<span class="small-gray">Funktionen</span><br/> |
|
|
|
|
<div class="menulink"><a class="menulink" href="/">Übersicht</a></div> |
|
|
|
|
<div class="menulink"><a class="menulink" href="/buy/">Kaufen</a></div> |
|
|
|
|
<div class="menulink"><a class="menulink" href="/statment/">Kontoauszug</a></div> |
|
|
|
@ -102,6 +103,14 @@ DEVELOPMENT
@@ -102,6 +103,14 @@ DEVELOPMENT
|
|
|
|
|
|
|
|
|
|
<h1>Konto - Übersicht</h1> |
|
|
|
|
|
|
|
|
|
<table> |
|
|
|
|
<tr><th>Username:</th><td>{{ account.username }}</td></tr> |
|
|
|
|
<tr><th>Realer Name:</th><td>{{ account.first_name }} {{ account.last_name }}</td></tr> |
|
|
|
|
<tr><th>Ausweis-Nr.:</th><td>{{ account.card_number }}</td></tr> |
|
|
|
|
<tr><th>Guthaben:</th><td{% if account.credit < 0 %} style="color: red"{% endif %}>{{ account.credit|floatformat:2 }} €</td></tr> |
|
|
|
|
<tr><th>Betrag bis Schuldenlimit:</th><td>{{ account.max_credit|floatformat:2 }} €</td></tr> |
|
|
|
|
</table> |
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
|
</div> |
|
|
|
|
<div id="contentclear"></div> |
|
|
|
|