2018-01-14 13:44:11 +01:00
|
|
|
{% extends "webshop/base.html" %}
|
|
|
|
{% block section_title %}Currencies in CHF{% endblock %}
|
|
|
|
{% block content %}
|
2018-02-28 01:22:27 +01:00
|
|
|
<h5> {{ message }} </h5>
|
2018-01-11 19:24:52 +01:00
|
|
|
<h3> Frühere Daten: </h3>
|
|
|
|
<h4> US Dollars: </h4>
|
2018-01-10 00:58:34 +01:00
|
|
|
{% if currency_USD_list %}
|
|
|
|
<table>
|
2017-12-29 17:02:33 +01:00
|
|
|
<tr>
|
2018-01-10 22:43:22 +01:00
|
|
|
<th scope="col">DATE</th>
|
|
|
|
<th scope="col">RATE</th>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-10 22:43:22 +01:00
|
|
|
{% for currency in currency_USD_list %}
|
2018-01-11 19:21:13 +01:00
|
|
|
<tr>
|
2018-01-10 22:43:22 +01:00
|
|
|
<td scope="col">{{ currency.date.date }}</td>
|
|
|
|
<td scope="col">{{ currency.exchange_rate_to_chf }}</td>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2017-12-29 17:02:33 +01:00
|
|
|
{% endfor %}
|
2018-01-10 00:58:34 +01:00
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<p class="alert">
|
|
|
|
currency_USD_list missing.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
<br>
|
2018-01-11 19:24:52 +01:00
|
|
|
<h4> EURO: </h4>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% if currency_EUR_list %}
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">DATE</th>
|
|
|
|
<th scope="col">RATE</th>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% for currency in currency_EUR_list %}
|
2018-01-11 19:21:13 +01:00
|
|
|
<tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
<td scope="col">{{ currency.date.date }}</td>
|
|
|
|
<td scope="col">{{ currency.exchange_rate_to_chf }}</td>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<p class="alert">
|
|
|
|
currency_EUR_list missing.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
<br>
|
2018-01-11 19:24:52 +01:00
|
|
|
<h4> Japanese Yenn: </h4>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% if currency_JPY_list %}
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">DATE</th>
|
|
|
|
<th scope="col">RATE</th>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% for currency in currency_JPY_list %}
|
2018-01-11 19:21:13 +01:00
|
|
|
<tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
<td scope="col">{{ currency.date.date }}</td>
|
|
|
|
<td scope="col">{{ currency.exchange_rate_to_chf }}</td>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% endfor %}
|
|
|
|
<tr>
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<p class="alert">
|
|
|
|
currency_JPY_list missing.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
<br>
|
2018-01-11 19:24:52 +01:00
|
|
|
<h4> Great Britain Pounds: </h4>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% if currency_GBP_list %}
|
2018-01-10 22:43:22 +01:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">DATE</th>
|
|
|
|
<th scope="col">RATE</th>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-11 07:54:51 +01:00
|
|
|
{% for currency in currency_GBP_list %}
|
2018-01-11 19:21:13 +01:00
|
|
|
<tr>
|
2018-01-10 22:43:22 +01:00
|
|
|
<td scope="col">{{ currency.date.date }}</td>
|
|
|
|
<td scope="col">{{ currency.exchange_rate_to_chf }}</td>
|
2018-01-11 19:21:13 +01:00
|
|
|
</tr>
|
2018-01-10 00:58:34 +01:00
|
|
|
{% endfor %}
|
2018-01-10 22:43:22 +01:00
|
|
|
<tr>
|
|
|
|
</table>
|
2018-01-10 00:58:34 +01:00
|
|
|
{% else %}
|
|
|
|
<p class="alert">
|
2018-01-11 07:54:51 +01:00
|
|
|
currency_GBP_list missing.
|
2018-01-10 00:58:34 +01:00
|
|
|
</p>
|
|
|
|
{% endif %}
|
2017-12-19 21:28:05 +01:00
|
|
|
</div>
|
2018-01-14 13:44:11 +01:00
|
|
|
{% endblock %}
|