mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-02 16:29:32 +00:00
Renamed projects/ template folder to recommended camel_case style
This commit is contained in:
parent
5696f32a04
commit
e8efe81f79
10 changed files with 8 additions and 8 deletions
11
templates/projects/info/_bom.html.twig
Normal file
11
templates/projects/info/_bom.html.twig
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% import "components/datatables.macro.html.twig" as datatables %}
|
||||
|
||||
<div class="mb-2"></div>
|
||||
|
||||
{{ datatables.datatable(datatable, 'elements/datatables/datatables', 'projects') }}
|
||||
|
||||
<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}) }}">
|
||||
<i class="fa-solid fa-square-plus fa-fw"></i>
|
||||
{% trans %}project.info.bom_add_parts{% endtrans %}
|
||||
</a>
|
||||
Loading…
Add table
Add a link
Reference in a new issue