<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* admin/entity_log/entity_log.html.twig */
class __TwigTemplate_3e2ad665ed474299b31d6d569884396b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'addJs' => [$this, 'block_addJs'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "admin/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/entity_log/entity_log.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/entity_log/entity_log.html.twig"));
$this->parent = $this->loadTemplate("admin/base.html.twig", "admin/entity_log/entity_log.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "История изменения данных";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
yield " <h1 class=\"h3 mb-2 text-gray-800\">История изменения данных</h1>
<div class=\"card shadow mb-4 mt-4\">
<div class=\"card-header py-3\">
<h6 class=\"m-0 font-weight-bold text-primary\">Список изменений</h6>
</div>
<div class=\"card-body\">
<div id=\"entity-log-table-filters\" class=\"mb-4 d-flex align-items-center\" style=\"gap: 20px; flex-wrap: wrap;\">
";
// line 14
yield from $this->loadTemplate("components/table_filter.html.twig", "admin/entity_log/entity_log.html.twig", 14)->unwrap()->yield(CoreExtension::merge($context, ["options" => ["labelText" => "Автор", "dropdownIdPrefix" => "author", "allItemsButtonText" => "Все авторы"]]));
// line 19
yield "
";
// line 20
yield from $this->loadTemplate("components/table_filter.html.twig", "admin/entity_log/entity_log.html.twig", 20)->unwrap()->yield(CoreExtension::merge($context, ["options" => ["labelText" => "Тип данных", "dropdownIdPrefix" => "entityType", "allItemsButtonText" => "Все типы"]]));
// line 25
yield "
";
// line 26
yield from $this->loadTemplate("components/table_filter.html.twig", "admin/entity_log/entity_log.html.twig", 26)->unwrap()->yield(CoreExtension::merge($context, ["options" => ["labelText" => "Действие", "dropdownIdPrefix" => "actionType", "allItemsButtonText" => "Все действия"]]));
// line 31
yield " </div>
<div class=\"table-responsive\">
<table class=\"table table-bordered\" id=\"entity-log-data-table\">
<thead>
<tr>
<th data-table-type=\"num\">Номер п/п</th>
<th data-table-type=\"date-d-m-Y-asc\">Дата</th>
<th data-table-dropdown-id=\"authorDropdown\"
data-table-badge-id=\"authorBadge\"
data-table-dropdown-text-for-all=\"Все авторы\">Автор</th>
<th>Данные</th>
<th data-table-hide-col
data-table-dropdown-id=\"entityTypeDropdown\"
data-table-badge-id=\"entityTypeBadge\"
data-table-dropdown-text-for-all=\"Все типы\">Тип данных</th>
";
// line 48
yield " <th data-table-dropdown-id=\"actionTypeDropdown\"
data-table-badge-id=\"actionTypeBadge\"
data-table-dropdown-text-for-all=\"Все действия\">Действие</th>
<th>Старое значение</th>
<th>Новое значение</th>
</tr>
</thead>
<tbody>
";
// line 56
$context["i"] = 0;
// line 57
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 57, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 58
yield " ";
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 58, $this->source); })()) + 1);
// line 59
yield " <tr>
<td>";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 60, $this->source); })()), "html", null, true);
yield "</td>
<td>";
// line 61
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "createdAt", [], "any", false, false, false, 61), "d.m.Y H:i"), "html", null, true);
yield "</td>
<td>";
// line 62
((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "editedBy", [], "any", false, false, false, 62)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["item"], "editedBy", [], "any", false, false, false, 62), "name", [], "any", false, false, false, 62), "html", null, true)) : (yield "–"));
yield "</td>
<td>
";
// line 64
$context["fieldLabel"] = CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getEntityFieldText", [], "method", false, false, false, 64);
// line 65
yield " ";
if (((isset($context["fieldLabel"]) || array_key_exists("fieldLabel", $context) ? $context["fieldLabel"] : (function () { throw new RuntimeError('Variable "fieldLabel" does not exist.', 65, $this->source); })()) == CoreExtension::getAttribute($this->env, $this->source, $context["item"], "fieldName", [], "any", false, false, false, 65))) {
// line 66
yield " ";
$context["fieldLabel"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["entityLogService"]) || array_key_exists("entityLogService", $context) ? $context["entityLogService"] : (function () { throw new RuntimeError('Variable "entityLogService" does not exist.', 66, $this->source); })()), "getEntityFormFieldLabel", [("App\\Entity\\" . CoreExtension::getAttribute($this->env, $this->source, // line 67
$context["item"], "entityClass", [], "any", false, false, false, 67)), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "fieldName", [], "any", false, false, false, 67)], "method", false, false, false, 66);
// line 68
yield " ";
}
// line 69
yield " ";
yield from $this->loadTemplate("components/status_button.html.twig", "admin/entity_log/entity_log.html.twig", 69)->unwrap()->yield(CoreExtension::merge($context, ["options" => ["buttonClass" => CoreExtension::getAttribute($this->env, $this->source, // line 70
$context["item"], "getEntityClassCss", [], "method", false, false, false, 70), "text" => CoreExtension::getAttribute($this->env, $this->source, // line 71
$context["item"], "getEntityText", [], "method", false, false, false, 71)]]));
// line 73
yield " <small class=\"text-muted\">";
(((isset($context["fieldLabel"]) || array_key_exists("fieldLabel", $context) ? $context["fieldLabel"] : (function () { throw new RuntimeError('Variable "fieldLabel" does not exist.', 73, $this->source); })())) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["fieldLabel"]) || array_key_exists("fieldLabel", $context) ? $context["fieldLabel"] : (function () { throw new RuntimeError('Variable "fieldLabel" does not exist.', 73, $this->source); })()), "html", null, true)) : (yield "–"));
yield "</small>
</td>
<td>";
// line 75
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getEntityText", [], "method", false, false, false, 75), "html", null, true);
yield "</td>
";
// line 77
yield " <td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "typeText", [], "any", false, false, false, 77), "html", null, true);
yield "</td>
<td>
";
// line 79
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getOldFieldValueText", [], "any", false, false, false, 79)) {
// line 80
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getOldFieldValueText", [], "any", false, false, false, 80);
yield "
";
} elseif (CoreExtension::getAttribute($this->env, $this->source, // line 81
$context["item"], "oldData", [], "any", false, false, false, 81)) {
// line 82
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "oldData", [], "any", false, false, false, 82));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 83
yield " <strong>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "label", [], "any", false, false, false, 83), "html", null, true);
yield ":</strong> ";
yield (($this->extensions['App\Twig\AppExtension']->isArray(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "value", [], "any", false, false, false, 83))) ? ("[]") : (CoreExtension::getAttribute($this->env, $this->source, $context["value"], "value", [], "any", false, false, false, 83)));
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 83)) {
yield "<br>";
}
// line 84
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
yield " ";
} else {
// line 86
yield " –
";
}
// line 88
yield " </td>
<td>
";
// line 90
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getOldFieldValueText", [], "any", false, false, false, 90)) {
// line 91
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getOldFieldValueText", [], "any", false, false, false, 91);
yield "
";
} elseif (CoreExtension::getAttribute($this->env, $this->source, // line 92
$context["item"], "data", [], "any", false, false, false, 92)) {
// line 93
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "data", [], "any", false, false, false, 93));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 94
yield " <strong>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "label", [], "any", false, false, false, 94), "html", null, true);
yield ":</strong> ";
yield (($this->extensions['App\Twig\AppExtension']->isArray(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "value", [], "any", false, false, false, 94))) ? ("[]") : (CoreExtension::getAttribute($this->env, $this->source, $context["value"], "value", [], "any", false, false, false, 94)));
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 94)) {
yield "<br>";
}
// line 95
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
yield " ";
} else {
// line 97
yield " –
";
}
// line 99
yield " </td>
</tr>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 102
yield " </tbody>
</table>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 109
public function block_addJs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "addJs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "addJs"));
// line 110
yield " <script>
let table = new CustomDataTable('#entity-log-data-table', {
\"lengthMenu\": [[20, 50, 100, 200, -1], [20, 50, 100, 200, \"Все\"]],
drawRowNumbersForColIndex: 0,
});
table.initDataTable();
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "admin/entity_log/entity_log.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 371 => 110, 361 => 109, 345 => 102, 329 => 99, 325 => 97, 322 => 96, 308 => 95, 300 => 94, 282 => 93, 280 => 92, 275 => 91, 273 => 90, 269 => 88, 265 => 86, 262 => 85, 248 => 84, 240 => 83, 222 => 82, 220 => 81, 215 => 80, 213 => 79, 207 => 77, 203 => 75, 197 => 73, 195 => 71, 194 => 70, 192 => 69, 189 => 68, 187 => 67, 185 => 66, 182 => 65, 180 => 64, 175 => 62, 171 => 61, 167 => 60, 164 => 59, 161 => 58, 143 => 57, 141 => 56, 131 => 48, 113 => 31, 111 => 26, 108 => 25, 106 => 20, 103 => 19, 101 => 14, 91 => 6, 81 => 5, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'admin/base.html.twig' %}
{% block title %}История изменения данных{% endblock %}
{% block content %}
<h1 class=\"h3 mb-2 text-gray-800\">История изменения данных</h1>
<div class=\"card shadow mb-4 mt-4\">
<div class=\"card-header py-3\">
<h6 class=\"m-0 font-weight-bold text-primary\">Список изменений</h6>
</div>
<div class=\"card-body\">
<div id=\"entity-log-table-filters\" class=\"mb-4 d-flex align-items-center\" style=\"gap: 20px; flex-wrap: wrap;\">
{% include 'components/table_filter.html.twig' with { options: {
labelText: 'Автор',
dropdownIdPrefix: 'author',
allItemsButtonText: 'Все авторы',
}} %}
{% include 'components/table_filter.html.twig' with { options: {
labelText: 'Тип данных',
dropdownIdPrefix: 'entityType',
allItemsButtonText: 'Все типы',
}} %}
{% include 'components/table_filter.html.twig' with { options: {
labelText: 'Действие',
dropdownIdPrefix: 'actionType',
allItemsButtonText: 'Все действия',
}} %}
</div>
<div class=\"table-responsive\">
<table class=\"table table-bordered\" id=\"entity-log-data-table\">
<thead>
<tr>
<th data-table-type=\"num\">Номер п/п</th>
<th data-table-type=\"date-d-m-Y-asc\">Дата</th>
<th data-table-dropdown-id=\"authorDropdown\"
data-table-badge-id=\"authorBadge\"
data-table-dropdown-text-for-all=\"Все авторы\">Автор</th>
<th>Данные</th>
<th data-table-hide-col
data-table-dropdown-id=\"entityTypeDropdown\"
data-table-badge-id=\"entityTypeBadge\"
data-table-dropdown-text-for-all=\"Все типы\">Тип данных</th>
{# <th>Поле</th>#}
<th data-table-dropdown-id=\"actionTypeDropdown\"
data-table-badge-id=\"actionTypeBadge\"
data-table-dropdown-text-for-all=\"Все действия\">Действие</th>
<th>Старое значение</th>
<th>Новое значение</th>
</tr>
</thead>
<tbody>
{% set i = 0 %}
{% for item in items %}
{% set i = i + 1 %}
<tr>
<td>{{ i }}</td>
<td>{{ item.createdAt|date('d.m.Y H:i') }}</td>
<td>{{ item.editedBy ? item.editedBy.name : '–' }}</td>
<td>
{% set fieldLabel = item.getEntityFieldText() %}
{% if fieldLabel == item.fieldName %}
{% set fieldLabel = entityLogService.getEntityFormFieldLabel(
\"App\\\\Entity\\\\\" ~ item.entityClass, item.fieldName) %}
{% endif %}
{% include 'components/status_button.html.twig' with { options: {
buttonClass: item.getEntityClassCss(),
text: item.getEntityText(),
} } %}
<small class=\"text-muted\">{{ fieldLabel ?: '–' }}</small>
</td>
<td>{{ item.getEntityText() }}</td>
{# <td>{{ item.getEntityFieldText() ?: '–' }}</td>#}
<td>{{ item.typeText }}</td>
<td>
{% if item.getOldFieldValueText %}
{{ item.getOldFieldValueText|raw }}
{% elseif item.oldData %}
{% for key, value in item.oldData %}
<strong>{{ value.label }}:</strong> {{ isArray(value.value) ? \"[]\" : value.value|raw }}{% if not loop.last %}<br>{% endif %}
{% endfor %}
{% else %}
–
{% endif %}
</td>
<td>
{% if item.getOldFieldValueText %}
{{ item.getOldFieldValueText|raw }}
{% elseif item.data %}
{% for key, value in item.data %}
<strong>{{ value.label }}:</strong> {{ isArray(value.value) ? \"[]\" : value.value|raw }}{% if not loop.last %}<br>{% endif %}
{% endfor %}
{% else %}
–
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
{% endblock %}
{% block addJs %}
<script>
let table = new CustomDataTable('#entity-log-data-table', {
\"lengthMenu\": [[20, 50, 100, 200, -1], [20, 50, 100, 200, \"Все\"]],
drawRowNumbersForColIndex: 0,
});
table.initDataTable();
</script>
{% endblock %}
", "admin/entity_log/entity_log.html.twig", "/home/sariato/www/dev.centr.sariato.ru/templates/admin/entity_log/entity_log.html.twig");
}
}