Update ldd.html.j2

This commit is contained in:
FlareCO 2022-05-01 02:51:29 +02:00 committed by GitHub
parent ef312fc744
commit 4124d98853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@
Credit to sttng
</a>
<br/>
{% if property_data %}
{% if (property_data and gm_level >= 3) %}
<a role="button" class="btn text-{% if property_data.mod_approved %}danger{% else %}success{% endif %} btn-block"
href='{{url_for('properties.approve', id=property_data.id)}}'>
{% if property_data.mod_approved %} Unapprove {% else %} Approve {% endif %}