mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02: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
|
@ -66,7 +66,7 @@ class ProjectController extends AbstractController
|
|||
return $table->getResponse();
|
||||
}
|
||||
|
||||
return $this->render('Projects/info/info.html.twig', [
|
||||
return $this->render('projects/info/info.html.twig', [
|
||||
'buildHelper' => $buildHelper,
|
||||
'datatable' => $table,
|
||||
'project' => $project,
|
||||
|
@ -110,7 +110,7 @@ class ProjectController extends AbstractController
|
|||
}
|
||||
}
|
||||
|
||||
return $this->renderForm('Projects/build/build.html.twig', [
|
||||
return $this->renderForm('projects/build/build.html.twig', [
|
||||
'buildHelper' => $buildHelper,
|
||||
'project' => $project,
|
||||
'build_request' => $projectBuildRequest,
|
||||
|
@ -191,7 +191,7 @@ class ProjectController extends AbstractController
|
|||
return $this->redirectToRoute('project_info', ['id' => $target_project->getID()]);
|
||||
}
|
||||
|
||||
return $this->renderForm('Projects/add_parts.html.twig', [
|
||||
return $this->renderForm('projects/add_parts.html.twig', [
|
||||
'project' => $project,
|
||||
'form' => $form,
|
||||
]);
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
<p class="text-muted">{% trans %}project.build.help{% endtrans %}</p>
|
||||
|
||||
{% include 'Projects/build/_form.html.twig' %}
|
||||
{% include 'projects/build/_form.html.twig' %}
|
||||
|
||||
|
||||
{% endblock %}
|
|
@ -78,18 +78,18 @@
|
|||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="info-tab-pane" role="tabpanel" aria-labelledby="info-tab" tabindex="0">
|
||||
{% include "Projects/info/_info.html.twig" %}
|
||||
{% include "projects/info/_info.html.twig" %}
|
||||
</div>
|
||||
{% if project.children is not empty %}
|
||||
<div class="tab-pane fade" id="subprojects-tab-pane" role="tabpanel" aria-labelledby="bom-tab" tabindex="0">
|
||||
{% include "Projects/info/_subprojects.html.twig" %}
|
||||
{% include "projects/info/_subprojects.html.twig" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="tab-pane fade" id="bom-tab-pane" role="tabpanel" aria-labelledby="bom-tab" tabindex="0">
|
||||
{% include "Projects/info/_bom.html.twig" %}
|
||||
{% include "projects/info/_bom.html.twig" %}
|
||||
</div>
|
||||
<div class="tab-pane fade" id="builds-tab-pane" role="tabpanel" aria-labelledby="builds-tab" tabindex="0">
|
||||
{% include "Projects/info/_builds.html.twig" %}
|
||||
{% include "projects/info/_builds.html.twig" %}
|
||||
</div>
|
||||
<div class="tab-pane fade" id="attachments-tab-pane" role="tabpanel" aria-labelledby="attachments-tab" tabindex="0">
|
||||
{% include "Parts/info/_attachments_info.html.twig" with {"part": project} %}
|
Loading…
Add table
Add a link
Reference in a new issue