2022-12-31 14:17:46 +01:00
|
|
|
{% import "components/datatables.macro.html.twig" as datatables %}
|
|
|
|
|
|
|
|
<div class="mb-2"></div>
|
|
|
|
|
|
|
|
{{ datatables.datatable(datatable, 'elements/datatables/datatables', 'projects') }}
|
|
|
|
|
2023-01-08 20:10:58 +01:00
|
|
|
<a class="btn btn-success" {% if not is_granted('@projects.edit') %}disabled{% endif %}
|
2022-12-31 14:17:46 +01:00
|
|
|
href="{{ path('project_add_parts', {"id": project.id, "_redirect": app.request.requestUri}) }}">
|
|
|
|
<i class="fa-solid fa-square-plus fa-fw"></i>
|
|
|
|
{% trans %}project.info.bom_add_parts{% endtrans %}
|
|
|
|
</a>
|