Update ldd.html.j2

This commit is contained in:
FlareCO 2022-05-01 22:14:05 +02:00 committed by GitHub
parent 4124d98853
commit 26111d0bcf
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 and gm_level >= 3) %}
{% if (property_data and current_user.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 %}