add customized prefix to dashboard
This commit is contained in:
parent
3caaed4b35
commit
92a2a77c80
|
@ -20,6 +20,7 @@ def dashboard():
|
||||||
queue=pretty_redeem_queue(db),
|
queue=pretty_redeem_queue(db),
|
||||||
counters=all_counters(db),
|
counters=all_counters(db),
|
||||||
redeems=current_app.config['REDEEMS'],
|
redeems=current_app.config['REDEEMS'],
|
||||||
|
prefix=current_app.config['PREFIX'],
|
||||||
username=username,
|
username=username,
|
||||||
users=users,
|
users=users,
|
||||||
utc_timezone=utc_timezone)
|
utc_timezone=utc_timezone)
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
{% for redeem, redeem_info in redeems.items() %}
|
{% for redeem, redeem_info in redeems.items() %}
|
||||||
<tbody>
|
<tbody>
|
||||||
<td>!{{ redeem }}</td>
|
<td>{{ prefix }}{{ redeem }}</td>
|
||||||
<td>{{ redeem_info["price"] }}</td>
|
<td>{{ redeem_info["price"] }}</td>
|
||||||
<td>{{ redeem_info["type"] }}</td>
|
<td>{{ redeem_info["type"] }}</td>
|
||||||
{% if redeem_info["info"] %}
|
{% if redeem_info["info"] %}
|
||||||
|
|
Loading…
Reference in New Issue