mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-08-09 20:14:01 +00:00
Enable users to view their own key (#107)
This commit is contained in:
@@ -116,7 +116,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if account_data.play_key and current_user.gm_level > 3 and config.REQUIRE_PLAY_KEY %}
|
{% if account_data.play_key and config.REQUIRE_PLAY_KEY %}
|
||||||
<hr class="bg-primary"/>
|
<hr class="bg-primary"/>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
@@ -133,6 +133,7 @@
|
|||||||
{{ account_data.play_key.key_string }}
|
{{ account_data.play_key.key_string }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if current_user.gm_level > 3 %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col text-right">
|
<div class="col text-right">
|
||||||
Uses Left:
|
Uses Left:
|
||||||
@@ -154,6 +155,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if current_user.id != account_data.id and current_user.gm_level > 3 %}
|
{% if current_user.id != account_data.id and current_user.gm_level > 3 %}
|
||||||
<hr class="bg-primary"/>
|
<hr class="bg-primary"/>
|
||||||
|
Reference in New Issue
Block a user