|
|
@@ -27,7 +27,7 @@ |
|
|
|
{% set _has_filters = _entity_config.list.filters|default(false) %} |
|
|
|
|
|
|
|
{% block body_id 'easyadmin-list-' ~ _entity_config.name %} |
|
|
|
{#{% block body_class 'list list-' ~ _entity_config.name|lower %}#} |
|
|
|
{# {% block body_class 'list list-' ~ _entity_config.name|lower %} #} |
|
|
|
|
|
|
|
{% block content_title %} |
|
|
|
{% apply spaceless %} |
|
|
@@ -42,7 +42,7 @@ |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% block global_actions %} |
|
|
|
{#{% if easyadmin_action_is_enabled_for_list_view('new', _entity_config.name) %} |
|
|
|
{# {% if easyadmin_action_is_enabled_for_list_view('new', _entity_config.name) %} |
|
|
|
{% set _action = easyadmin_get_action_for_list_view('new', _entity_config.name) %} |
|
|
|
{% block new_action %} |
|
|
|
<div class="button-action"> |
|
|
@@ -54,7 +54,7 @@ |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
{% endblock new_action %} |
|
|
|
{% endif %}#} |
|
|
|
{% endif %} #} |
|
|
|
{% endblock global_actions %} |
|
|
|
|
|
|
|
{% block batch_actions %} |
|
|
@@ -94,7 +94,7 @@ |
|
|
|
|
|
|
|
<h2 class="card-title text-lg "> |
|
|
|
{% block paginator_nb_results %} |
|
|
|
{#{{ "list.title"|trans({'%label%' : _entity_config['label']|lower }) }}#} |
|
|
|
{# {{ "list.title"|trans({'%label%' : _entity_config['label']|lower }) }} #} |
|
|
|
{% if paginator.nbResultsTotal != paginator.nbResults %} |
|
|
|
<span data-toggle="tooltip" title="{{ "list.nbResultsFiltered"|trans }}" |
|
|
|
class="badge badge-info">{{ paginator.nbResults }} <i |
|
|
@@ -306,6 +306,7 @@ |
|
|
|
{# the empty string concatenation is needed when the primary key is an object (e.g. an Uuid object) #} |
|
|
|
{% set _item_id = '' ~ attribute(item, _entity_config.primary_key_field_name) %} |
|
|
|
<tr data-id="{{ _item_id }}"> |
|
|
|
|
|
|
|
{% if _has_batch_actions %} |
|
|
|
<td><input type="checkbox" class="form-batch-checkbox" |
|
|
|
value="{{ _item_id }}"></td> |
|
|
@@ -324,6 +325,9 @@ |
|
|
|
{{ easyadmin_render_field_for_list_view(_entity_config.name, item, metadata) }} |
|
|
|
</a> |
|
|
|
{% else %} |
|
|
|
{# {% if metadatafieldName =="supplier" %} |
|
|
|
{{ dump(metadata) }} |
|
|
|
{% endif %}#} |
|
|
|
{{ easyadmin_render_field_for_list_view(_entity_config.name, item, metadata) }} |
|
|
|
{% endif %} |
|
|
|
</td> |
|
|
@@ -430,7 +434,7 @@ |
|
|
|
<script src="{{ asset('bundles/lcshop/js/backend/plugin/daterange/daterangepicker.js') }}"></script> |
|
|
|
<script src="{{ asset('bundles/lcshop/js/backend/plugin/datatables/jquery.highlight.js') }}"></script> |
|
|
|
<script src="{{ asset('bundles/lcshop/js/backend/plugin/autocomplete/bootstrap-autocomplete.min.js') }}"></script> |
|
|
|
{#<script src="{{ asset('bundles/lcshop/js/backend/plugin/datatables/responsive.bootstrap4.min.js') }}"></script>#} |
|
|
|
{# <script src="{{ asset('bundles/lcshop/js/backend/plugin/datatables/responsive.bootstrap4.min.js') }}"></script> #} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% block script_javascript %} |