ac work list: add an option to mask button text

This commit is contained in:
2021-08-22 20:34:27 +02:00
parent 3894c7a56d
commit 52fa4b5549
2 changed files with 4 additions and 5 deletions

View File

@@ -101,10 +101,9 @@
</div>
<ul class="record_actions">
<li>
<a class="btn btn-edit"
href="{{ chill_path_add_return_path('chill_person_accompanying_period_work_edit', { 'id': w.id }) }}">
{{ 'Edit'|trans }}
</a>
<a class="btn btn-edit" title="{{ 'Edit'|trans }}"
href="{{ chill_path_add_return_path('chill_person_accompanying_period_work_edit', { 'id': w.id }) }}"
>{% if buttonText is not defined or buttonText == true %}{{ 'Edit'|trans }}{% endif %}</a>
</li>
</ul>