diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-03-14 14:46:50 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-03-14 16:07:03 +0100 |
commit | 921106cea32c78e308a6728542ecc7dc284828d5 (patch) | |
tree | 16e0e6f7ef758b36d2c16a64a2eb5fb47a941207 /talerbank/app/templates/public_accounts.html | |
parent | 60224f6ca9c478f1e40f21eeadbd973c67060b7f (diff) | |
download | bank-921106cea32c78e308a6728542ecc7dc284828d5.tar.gz bank-921106cea32c78e308a6728542ecc7dc284828d5.tar.bz2 bank-921106cea32c78e308a6728542ecc7dc284828d5.zip |
jinja conversion
Diffstat (limited to 'talerbank/app/templates/public_accounts.html')
-rw-r--r-- | talerbank/app/templates/public_accounts.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/talerbank/app/templates/public_accounts.html b/talerbank/app/templates/public_accounts.html index 59ed29a..b360af6 100644 --- a/talerbank/app/templates/public_accounts.html +++ b/talerbank/app/templates/public_accounts.html @@ -18,8 +18,6 @@ --> {% extends "base.html" %} -{% load static from mystatic %} - {% block headermsg %} <h1 class="nav">History of public accounts</h1> {% endblock headermsg %} @@ -29,13 +27,13 @@ </aside> <section id="main"> <article> - <a href="{% url 'index' %}">Back</a> + <a href="{{ url('index') }}">Back</a> <table bgcolor="#E0E0E0" width="100%" width="100%" border="0" cellpadding="2" cellspacing="1"> <tr> {% for account in public_accounts %} <td width="12%" align="center"> <a id="{{ account.user.username }}" - href="{% url "public-accounts" name=account.user.username %}" + href="{{ url("public-accounts", name=account.user.username) }}" {% if account.account_no == selected_account.number %} style="font-weight: bold" {% endif %} |