|
|
|
|
|
|
|
|
{% set _fields_visible_by_user = fields|filter((metadata, field) => easyadmin_is_granted(metadata.permission)) %} |
|
|
{% set _fields_visible_by_user = fields|filter((metadata, field) => easyadmin_is_granted(metadata.permission)) %} |
|
|
{% set _number_of_hidden_results = 0 %} |
|
|
{% set _number_of_hidden_results = 0 %} |
|
|
{% set _list_item_actions = easyadmin_get_actions_for_list_item(_entity_config.name) %} |
|
|
{% set _list_item_actions = easyadmin_get_actions_for_list_item(_entity_config.name) %} |
|
|
<div class="row"> |
|
|
|
|
|
|
|
|
<div class="row" id="{% block list_id %}{% endblock %}"> |
|
|
<div class="col-12"> |
|
|
<div class="col-12"> |
|
|
<div class="card card-outline card-primary"> |
|
|
<div class="card card-outline card-primary"> |
|
|
<div class="card-header"> |
|
|
<div class="card-header"> |
|
|
{% block card_header %} |
|
|
{% block card_header %} |
|
|
|
|
|
|
|
|
<h2 class="card-title text-lg "> |
|
|
<h2 class="card-title text-lg "> |
|
|
{% block paginator_nb_results %} |
|
|
{% block paginator_nb_results %} |
|
|
{#{{ "list.title"|trans({'%label%' : _entity_config['label']|lower }) }}#} |
|
|
{#{{ "list.title"|trans({'%label%' : _entity_config['label']|lower }) }}#} |
|
|
|
|
|
|
|
|
{% else %} |
|
|
{% else %} |
|
|
{# the empty string concatenation is needed when the primary key is an object (e.g. an Uuid object) #} |
|
|
{# 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) %} |
|
|
{% set _item_id = '' ~ attribute(item, _entity_config.primary_key_field_name) %} |
|
|
<tr data-id="{{ _item_id }}"> |
|
|
|
|
|
|
|
|
<tr id="tr-entity-id-{{ _item_id }}" data-id="{{ _item_id }}"> |
|
|
{% if _has_batch_actions %} |
|
|
{% if _has_batch_actions %} |
|
|
<td><input type="checkbox" class="form-batch-checkbox" |
|
|
<td><input type="checkbox" class="form-batch-checkbox" |
|
|
value="{{ _item_id }}"></td> |
|
|
value="{{ _item_id }}"></td> |