mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-25 15:07:18 +00:00
fix upload button showing up for any GM level
This commit is contained in:
parent
000a8c47bf
commit
64ccb29972
@ -60,7 +60,7 @@
|
|||||||
href='{{ url_for('characters.get_xml', id=character.id) }}'>
|
href='{{ url_for('characters.get_xml', id=character.id) }}'>
|
||||||
Download XML
|
Download XML
|
||||||
</a>
|
</a>
|
||||||
{% if config.ENABLE_CHAR_XML_UPLOAD %}
|
{% if config.ENABLE_CHAR_XML_UPLOAD and current_user.gm_level == 9 %}
|
||||||
<a role="button" class="btn btn-primary btn-block"
|
<a role="button" class="btn btn-primary btn-block"
|
||||||
href='{{ url_for('characters.upload', id=character.id) }}'>
|
href='{{ url_for('characters.upload', id=character.id) }}'>
|
||||||
Upload XML
|
Upload XML
|
||||||
|
Loading…
Reference in New Issue
Block a user