history template

This commit is contained in:
seba 2011-03-04 23:35:28 +01:00
parent 3c722f4ea0
commit c87580f861
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block "content" %}
{% if history %}
Your personal history
{% for order in history.all %}
{{ order }} <br />
{% for item in order.purchase_set.all %}
{{item }}
{% endfor %}
<br />
{% endfor %}
{% else %}
{{ error }}
Alle alle die Orders :(
{% endif %}
{% endblock %}

Binary file not shown.