location admin: add active field on Location and LocationType

This commit is contained in:
nobohan
2021-10-22 12:14:32 +02:00
parent 7dc4590580
commit 154416cddf
9 changed files with 105 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
<th>{{ 'Phonenumber2'|trans }}</th>
<th>{{ 'Email'|trans }}</th>
<th>{{ 'Address'|trans }}</th>
<th>{{ 'Active'|trans }}</th>
</tr>
</thead>
<tbody>
@@ -25,6 +26,13 @@
{{ entity.address.street}}, {{ entity.address.streetnumber }}
{% endif %}
</td>
<td style="text-align:center;">
{%- if entity.active -%}
<i class="fa fa-check-square-o"></i>
{%- else -%}
<i class="fa fa-square-o"></i>
{%- endif -%}
</td>
<td>
<ul class="record_actions">
<li>