Refactor view templates: relocate 'merge' action block and standardize 'duplicate link' block handling

This commit is contained in:
2025-09-09 17:35:49 +02:00
parent 230c758255
commit 2a280b814f
8 changed files with 24 additions and 12 deletions

View File

@@ -152,6 +152,17 @@
{% endif %}
</dl>
{% endblock %}
{% block content_view_actions_merge %}
<li>
<a href="{{ chill_path_add_return_path('chill_thirdparty_find_duplicate',
{ 'thirdparty_id': entity.id }) }}"
title="{{ 'Merge'|trans }}"
class="btn btn-misc">
<i class="bi bi-chevron-contract"></i>
{{ 'Merge'|trans }}
</a>
</li>
{% endblock %}
{% block content_form_actions_delete %}{% endblock %}
{% block content_view_actions_duplicate_link %}{% endblock %}
{% endembed %}