Renamed projects/ template folder to recommended camel_case style

This commit is contained in:
Jan Böhmer 2023-02-04 23:03:32 +01:00
parent 5696f32a04
commit e8efe81f79
10 changed files with 8 additions and 8 deletions

View file

@ -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,
]);

View file

@ -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 %}

View file

@ -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} %}