mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 04:30:08 +02:00
Renamed AdminPages/ templates folder to recommended snake_case style
This commit is contained in:
parent
1559b669df
commit
a128f40358
32 changed files with 32 additions and 32 deletions
|
@ -42,7 +42,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class AttachmentTypeController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = AttachmentType::class;
|
||||
protected string $twig_template = 'AdminPages/AttachmentTypeAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/attachment_type_admin.html.twig';
|
||||
protected string $form_class = AttachmentTypeAdminForm::class;
|
||||
protected string $route_base = 'attachment_type';
|
||||
protected string $attachment_class = AttachmentTypeAttachment::class;
|
||||
|
|
|
@ -41,7 +41,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class CategoryController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Category::class;
|
||||
protected string $twig_template = 'AdminPages/CategoryAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/category_admin.html.twig';
|
||||
protected string $form_class = CategoryAdminForm::class;
|
||||
protected string $route_base = 'category';
|
||||
protected string $attachment_class = CategoryAttachment::class;
|
||||
|
|
|
@ -59,7 +59,7 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||
class CurrencyController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Currency::class;
|
||||
protected string $twig_template = 'AdminPages/CurrencyAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/currency_admin.html.twig';
|
||||
protected string $form_class = CurrencyAdminForm::class;
|
||||
protected string $route_base = 'currency';
|
||||
protected string $attachment_class = CurrencyAttachment::class;
|
||||
|
|
|
@ -42,7 +42,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class FootprintController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Footprint::class;
|
||||
protected string $twig_template = 'AdminPages/FootprintAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/footprint_admin.html.twig';
|
||||
protected string $form_class = FootprintAdminForm::class;
|
||||
protected string $route_base = 'footprint';
|
||||
protected string $attachment_class = FootprintAttachment::class;
|
||||
|
|
|
@ -41,7 +41,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class LabelProfileController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = LabelProfile::class;
|
||||
protected string $twig_template = 'AdminPages/LabelProfileAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/label_profile_admin.html.twig';
|
||||
protected string $form_class = LabelProfileAdminForm::class;
|
||||
protected string $route_base = 'label_profile';
|
||||
protected string $attachment_class = LabelAttachment::class;
|
||||
|
|
|
@ -41,7 +41,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class ManufacturerController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Manufacturer::class;
|
||||
protected string $twig_template = 'AdminPages/ManufacturerAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/manufacturer_admin.html.twig';
|
||||
protected string $form_class = CompanyForm::class;
|
||||
protected string $route_base = 'manufacturer';
|
||||
protected string $attachment_class = ManufacturerAttachment::class;
|
||||
|
|
|
@ -42,7 +42,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class MeasurementUnitController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = MeasurementUnit::class;
|
||||
protected string $twig_template = 'AdminPages/MeasurementUnitAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/measurement_unit_admin.html.twig';
|
||||
protected string $form_class = MeasurementUnitAdminForm::class;
|
||||
protected string $route_base = 'measurement_unit';
|
||||
protected string $attachment_class = MeasurementUnitAttachment::class;
|
||||
|
|
|
@ -42,7 +42,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class ProjectAdminController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Project::class;
|
||||
protected string $twig_template = 'AdminPages/ProjectAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/project_admin.html.twig';
|
||||
protected string $form_class = ProjectAdminForm::class;
|
||||
protected string $route_base = 'project';
|
||||
protected string $attachment_class = ProjectAttachment::class;
|
||||
|
|
|
@ -41,7 +41,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class StorelocationController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Storelocation::class;
|
||||
protected string $twig_template = 'AdminPages/StorelocationAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/storelocation_admin.html.twig';
|
||||
protected string $form_class = StorelocationAdminForm::class;
|
||||
protected string $route_base = 'store_location';
|
||||
protected string $attachment_class = StorelocationAttachment::class;
|
||||
|
|
|
@ -41,7 +41,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class SupplierController extends BaseAdminController
|
||||
{
|
||||
protected string $entity_class = Supplier::class;
|
||||
protected string $twig_template = 'AdminPages/SupplierAdmin.html.twig';
|
||||
protected string $twig_template = 'admin/supplier_admin.html.twig';
|
||||
protected string $form_class = SupplierForm::class;
|
||||
protected string $route_base = 'supplier';
|
||||
protected string $attachment_class = SupplierAttachment::class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue