using renderbox and adjusting style + show button if person or thirdparty

This commit is contained in:
2022-02-11 17:02:31 +01:00
parent 753a007172
commit f9154233e4
3 changed files with 37 additions and 57 deletions

View File

@@ -172,7 +172,7 @@
{%- if options['customButtons']['replace'] is defined -%}
{{ options['customButtons']['replace'] }}
{%- elseif is_granted('CHILL_PERSON_SEE', person) -%}
{%- elseif is_granted('CHILL_PERSON_SEE', person) and options['addLink'] -%}
<li>
<a class="btn btn-sm btn-show" title="{{ 'Show person'|trans }}"
href="{{ path('chill_person_view', { person_id: person.id }) }}"></a>