add customized prefix to dashboard

This commit is contained in:
Lili (Tlapka) 2023-01-04 12:37:56 +01:00
parent 3caaed4b35
commit 92a2a77c80
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ def dashboard():
queue=pretty_redeem_queue(db),
counters=all_counters(db),
redeems=current_app.config['REDEEMS'],
prefix=current_app.config['PREFIX'],
username=username,
users=users,
utc_timezone=utc_timezone)

View File

@ -97,7 +97,7 @@
</thead>
{% for redeem, redeem_info in redeems.items() %}
<tbody>
<td>!{{ redeem }}</td>
<td>{{ prefix }}{{ redeem }}</td>
<td>{{ redeem_info["price"] }}</td>
<td>{{ redeem_info["type"] }}</td>
{% if redeem_info["info"] %}