forked from MarseyWorld/MarseyWorld
add "Remove Badge" button
parent
3e4f15981e
commit
5570e09606
|
@ -88,6 +88,7 @@
|
|||
<div class="actionbtns my-3">
|
||||
{% if FEATURES['BADGES'] and v.admin_level >= PERMS['USER_BADGES'] %}
|
||||
<a id="give-badge-{{deviceType}}" class="btn btn-primary" style="display:inline-block!important" href="/admin/badge_grant?usernames={{u.username}}">Give Badge</a>
|
||||
<a id="remove-badge-{{deviceType}}" class="btn btn-primary" style="display:inline-block!important" href="/admin/badge_remove?usernames={{u.username}}">Remove Badge</a>
|
||||
{% endif %}
|
||||
|
||||
{% if v.admin_level >= PERMS['ADMIN_ADD'] and not u.admin_level %}
|
||||
|
|
Loading…
Reference in New Issue