Renamed label_system templates folder to recommended snake_style style

This commit is contained in:
Jan Böhmer 2023-02-04 23:15:11 +01:00
parent 06f86176b6
commit 12d4c2f4d9
16 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
{% extends "AdminPages/EntityAdminBase.html.twig" %}
{% import "LabelSystem/dropdown_macro.html.twig" as dropdown %}
{% import "label_system/dropdown_macro.html.twig" as dropdown %}
{% block card_title %}
<i class="fas fa-cube fa-fw"></i> {% trans %}storelocation.labelp{% endtrans %}

View file

@ -7,7 +7,7 @@
<meta name="description" content="Label for {{ meta_title }}">
<meta name="keywords" content="Part-DB, Label, Barcode">
<style>
{% include("LabelSystem/labels/label_style.css.twig") %}
{% include("label_system/labels/label_style.css.twig") %}
{{ options.additionalCss | escape("html") }}
</style>
</head>
@ -15,11 +15,11 @@
{% for element in elements %}
<div class="page">
{% if options.barcodeType == 'none' %}
{% include "LabelSystem/labels/label_page_none.html.twig" %}
{% include "label_system/labels/label_page_none.html.twig" %}
{% elseif options.barcodeType in ['qr', 'datamatrix'] %}
{% include "LabelSystem/labels/label_page_qr.html.twig" %}
{% include "label_system/labels/label_page_qr.html.twig" %}
{% elseif options.barcodeType in ['code39', 'code93', 'code128'] %}
{% include "LabelSystem/labels/label_page_1d.html.twig" %}
{% include "label_system/labels/label_page_1d.html.twig" %}
{% endif %}
</div>
{% endfor %}

View file

@ -1,5 +1,5 @@
{% import "helper.twig" as helper %}
{% import "LabelSystem/dropdown_macro.html.twig" as dropdown %}
{% import "label_system/dropdown_macro.html.twig" as dropdown %}
{% include "parts/info/_withdraw_modal.html.twig" %}

View file

@ -1,4 +1,4 @@
{% import "LabelSystem/dropdown_macro.html.twig" as dropdown %}
{% import "label_system/dropdown_macro.html.twig" as dropdown %}
{% if is_granted('edit', part) %}
<a href="{{ entity_url(part, 'edit') }}" class="btn btn-primary mt-3">

View file

@ -1,5 +1,5 @@
{% import "helper.twig" as helper %}
{% import "LabelSystem/dropdown_macro.html.twig" as dropdown %}
{% import "label_system/dropdown_macro.html.twig" as dropdown %}
{{ helper.breadcrumb_entity_link(entity) }}

View file

@ -1,5 +1,5 @@
{% import "helper.twig" as helper %}
{% import "LabelSystem/dropdown_macro.html.twig" as dropdown %}
{% import "label_system/dropdown_macro.html.twig" as dropdown %}
{{ helper.breadcrumb_entity_link(project) }}