Quellcode durchsuchen

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Charly vor 3 Jahren
Ursprung
Commit
1ae59ee044
3 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
  1. +1
    -1
      Field/FileManagerField.php
  2. +1
    -0
      Resources/assets/functions/widgets.js
  3. +0
    -5
      Resources/views/adminlte/crud/form_theme.html.twig

+ 1
- 1
Field/FileManagerField.php Datei anzeigen

@@ -23,7 +23,7 @@ final class FileManagerField implements FieldInterface
->setProperty($propertyName)
->setLabel($label)
->setTemplatePath('@LcSov/adminlte/crud/field/file.html.twig')
/*->addWebpackEncoreEntries('adminlte-field-filemanager')*/
//->addWebpackEncoreEntries('adminlte-field-filemanager')
->setCustomOption('managerDir', 'file')
->setCustomOption('type', 'file')
->setFormType(FileManagerType::class)

+ 1
- 0
Resources/assets/functions/widgets.js Datei anzeigen

@@ -32,6 +32,7 @@ export class SovWidgets {
var event = new Event('change');
e.target.dispatchEvent(event);
});
SovTools.log(myselect);

return myselect;
}

+ 0
- 5
Resources/views/adminlte/crud/form_theme.html.twig Datei anzeigen

@@ -2,7 +2,6 @@
{% use '@EasyAdmin/crud/form_theme.html.twig' %}

{% block form_start %}

{% if form.vars.errors|length > 0 and 'ea_crud' in form.vars.block_prefixes|default([]) %}
{{ form_errors(form) }}
{% endif %}
@@ -117,7 +116,6 @@
{%- endif -%}
{%- endif -%}


{% set entityNameOrObject = form.parent.vars.data %}

{% if form.parent.vars.translation_entity_name is defined %}
@@ -130,9 +128,6 @@
{% endif %}
#}

{% if translation_domain == null %}
{% set translation_domain = 'admin' %}
{% endif %}
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}
>{{ (label is not empty and '.' in label) ? label|trans({}, translation_domain) : name|sov_trans_admin_field(entityNameOrObject) }}
</{{ element|default('label') }}>

Laden…
Abbrechen
Speichern