diff options
| author | Benedict Börger <benedict@0xb8000.de> | 2019-04-27 22:03:20 +0200 |
|---|---|---|
| committer | Benedict Börger <benedict@0xb8000.de> | 2019-04-27 22:03:20 +0200 |
| commit | 36716cf5a971811019280614f8d6ea68c91cdba8 (patch) | |
| tree | 94666c35227f9b85c6486a3fc827b08fb0b8b835 /templates/transaction.html.tera | |
| parent | ef11513f9385b3fb6b52eb90cf873a17f2a1d90b (diff) | |
[web_frontend] adapt URLs to be ablte to address spefic accounts
Diffstat (limited to 'templates/transaction.html.tera')
| -rw-r--r-- | templates/transaction.html.tera | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/transaction.html.tera b/templates/transaction.html.tera index a0f258f..b36b12a 100644 --- a/templates/transaction.html.tera +++ b/templates/transaction.html.tera @@ -22,9 +22,9 @@ {{ account_name }} </a> <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> - <a class="dropdown-item" href="/transactions">All Transactions</a> - <a class="dropdown-item" href="/chart">Spending chart</a> - <a class="dropdown-item" href="/balance">Balance</a> + <a class="dropdown-item" href="/transactions/{{ account_name }}">All Transactions</a> + <a class="dropdown-item" href="/chart/{{ account_name }}">Spending chart</a> + <a class="dropdown-item" href="/balance/{{account_name }}">Balance</a> </div> </li> <li class="nav-item dropdown active"> @@ -33,7 +33,6 @@ </a> <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> <a class="dropdown-item" href="/asset">Overview</a> - <a class="dropdown-item" href="/chart">Girokonto</a> </div> </li> <li class="nav-item"> @@ -45,7 +44,7 @@ <!-- content --> <div class="container"> <div class="md-form mt-0" style="padding-top: 20px;"> - <form name="filter" method="get" action="/transactions"> + <form name="filter" method="get" action="/transactions/{{ account_name }}"> {% if filter == "" %} <input id="filter" name="filter" class="form-control" type="text" placeholder="Filter"> {% else %} |
