forked from mirror/Part-DB.Part-DB-server
Renamed label_system templates folder to recommended snake_style style
This commit is contained in:
parent
06f86176b6
commit
12d4c2f4d9
16 changed files with 12 additions and 12 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
|
@ -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" %}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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) }}
|
||||
|
||||
|
|
|
@ -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) }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue