mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 02:05:16 +02:00
Moved add bom entries button to top of BOM table
This commit is contained in:
parent
49cf20545f
commit
742f1f4622
1 changed files with 4 additions and 6 deletions
|
@ -1,10 +1,6 @@
|
||||||
{% import "components/datatables.macro.html.twig" as datatables %}
|
{% import "components/datatables.macro.html.twig" as datatables %}
|
||||||
|
|
||||||
<div class="mb-2"></div>
|
<div class="btn-group mb-2">
|
||||||
|
|
||||||
{{ datatables.datatable(datatable, 'elements/datatables/datatables', 'projects') }}
|
|
||||||
|
|
||||||
<div class="btn-group">
|
|
||||||
<a class="btn btn-success" {% if not is_granted('@projects.edit') %}disabled{% endif %}
|
<a class="btn btn-success" {% if not is_granted('@projects.edit') %}disabled{% endif %}
|
||||||
href="{{ path('project_add_parts', {"id": project.id, "_redirect": app.request.requestUri}) }}">
|
href="{{ path('project_add_parts', {"id": project.id, "_redirect": app.request.requestUri}) }}">
|
||||||
<i class="fa-solid fa-square-plus fa-fw"></i>
|
<i class="fa-solid fa-square-plus fa-fw"></i>
|
||||||
|
@ -22,3 +18,5 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ datatables.datatable(datatable, 'elements/datatables/datatables', 'projects') }}
|
Loading…
Add table
Add a link
Reference in a new issue