Move currency out of the storage page in the web UI

This brings the currency page in line with the grail page.
This commit is contained in:
2025-10-02 19:16:44 +02:00
parent 2baa43db20
commit 31e57da117
3 changed files with 2 additions and 2 deletions

View File

@@ -348,7 +348,7 @@ def storage_currency_counts(item_codes: list[str], stash_name: str) -> dict:
return currencies
@app.route("/storage/<stash_name>/currency")
@app.route("/currency/<stash_name>")
def storage_currency(stash_name: str):
if stash_name not in DB_FILES:
abort(404)

View File

@@ -13,7 +13,6 @@
<li><a href="/storage/{{stash_name or 'softcore'}}/uniques">Uniques</a></li>
<li><a href="/storage/{{stash_name or 'softcore'}}/sets">Sets</a></li>
<li><a href="/storage/{{stash_name or 'softcore'}}/misc">Misc</a></li>
<li><a href="/storage/{{stash_name or 'softcore'}}/currency">Currency</a></li>
</ul>
</nav>
<form action="/storage/{{stash_name}}/take" method="POST">

View File

@@ -3,5 +3,6 @@
<li><a href="/stash/{{stash_name or 'softcore'}}">Stash</a></li>
<li><a href="/storage/{{stash_name or 'softcore'}}">Storage</a></li>
<li><a href="/grail/{{stash_name or 'softcore'}}">Grail</a></li>
<li><a href="/currency/{{stash_name or 'softcore'}}">Currency</a></li>
</ul>
</nav>