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),
|
||||
counters=all_counters(db),
|
||||
redeems=current_app.config['REDEEMS'],
|
||||
prefix=current_app.config['PREFIX'],
|
||||
username=username,
|
||||
users=users,
|
||||
utc_timezone=utc_timezone)
|
||||
|
|
|
@ -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"] %}
|
||||
|
|
Loading…
Reference in New Issue