Update ldd.html.j2
This commit is contained in:
parent
4124d98853
commit
26111d0bcf
@ -21,7 +21,7 @@
|
|||||||
Credit to sttng
|
Credit to sttng
|
||||||
</a>
|
</a>
|
||||||
<br/>
|
<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"
|
<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)}}'>
|
href='{{url_for('properties.approve', id=property_data.id)}}'>
|
||||||
{% if property_data.mod_approved %} Unapprove {% else %} Approve {% endif %}
|
{% if property_data.mod_approved %} Unapprove {% else %} Approve {% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user