person list with period: use sameas twig operator instead of using '==' operator to introduce requestor

This commit is contained in:
2022-04-20 11:24:20 +02:00
parent 7f97215fe9
commit 8512a5e1bc
2 changed files with 2 additions and 1 deletions

View File

@@ -99,7 +99,7 @@
{% endif %}
</div>
<div class="ms-auto">
{% if acp.requestoranonymous == false and acp.requestorPerson == person %}
{% if acp.requestoranonymous == false and acp.requestorPerson is same as(person) %}
<span class="as-requestor badge bg-info" title="{{ 'Requestor'|trans|e('html_attr') }}">
{{ 'Requestor'|trans({'gender': person.gender}) }}
</span>