<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* sonata/standard_layout.html.twig */
class __TwigTemplate_af7af507e2ed35b2d2d124277fcf88518a9cf133061e4d2fab261262388bbf6e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_tags' => [$this, 'block_meta_tags'],
'admin_lte_skin_class' => [$this, 'block_admin_lte_skin_class'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'logo' => [$this, 'block_logo'],
'sonata_top_nav_menu' => [$this, 'block_sonata_top_nav_menu'],
'sonata_top_nav_menu_add_block' => [$this, 'block_sonata_top_nav_menu_add_block'],
'sonata_top_nav_menu_user_block' => [$this, 'block_sonata_top_nav_menu_user_block'],
'sonata_wrapper' => [$this, 'block_sonata_wrapper'],
'sonata_admin_content_actions_wrappers' => [$this, 'block_sonata_admin_content_actions_wrappers'],
'sonata_head_title' => [$this, 'block_sonata_head_title'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SonataAdmin/standard_layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "sonata/standard_layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "sonata/standard_layout.html.twig"));
$this->parent = $this->loadTemplate("@SonataAdmin/standard_layout.html.twig", "sonata/standard_layout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_meta_tags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_tags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_tags"));
// line 4
echo " ";
$this->displayParentBlock("meta_tags", $context, $blocks);
echo "
";
// line 6
$context["favicon_path"] = "/favicon/";
// line 7
echo " ";
if (twig_in_filter("test.genesii.fr", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "host", [], "any", false, false, false, 7))) {
// line 8
echo " ";
$context["favicon_path"] = "/favicon-test/";
// line 9
echo " ";
}
// line 10
echo "
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 11
echo twig_escape_filter($this->env, (isset($context["favicon_path"]) || array_key_exists("favicon_path", $context) ? $context["favicon_path"] : (function () { throw new RuntimeError('Variable "favicon_path" does not exist.', 11, $this->source); })()), "html", null, true);
echo "apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 12
echo twig_escape_filter($this->env, (isset($context["favicon_path"]) || array_key_exists("favicon_path", $context) ? $context["favicon_path"] : (function () { throw new RuntimeError('Variable "favicon_path" does not exist.', 12, $this->source); })()), "html", null, true);
echo "favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 13
echo twig_escape_filter($this->env, (isset($context["favicon_path"]) || array_key_exists("favicon_path", $context) ? $context["favicon_path"] : (function () { throw new RuntimeError('Variable "favicon_path" does not exist.', 13, $this->source); })()), "html", null, true);
echo "favicon-16x16.png\">
<link rel=\"manifest\" href=\"/favicon/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/favicon/safari-pinned-tab.svg\" color=\"#2c2c2c\">
<meta name=\"msapplication-TileColor\" content=\"#2c2c2c\">
<meta name=\"theme-color\" content=\"#2c2c2c\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
public function block_admin_lte_skin_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "admin_lte_skin_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "admin_lte_skin_class"));
// line 21
echo " ";
$this->displayParentBlock("admin_lte_skin_class", $context, $blocks);
echo "
";
// line 23
if (twig_get_attribute($this->env, $this->source, ($context["admin"] ?? null), "code", [], "any", true, true, false, 23)) {
// line 24
echo " admin-view-";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["admin"]) || array_key_exists("admin", $context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.', 24, $this->source); })()), "code", [], "any", false, false, false, 24), ["." => "-"])), "html", null, true);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 28
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 29
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
// line 31
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("admin");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 34
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 35
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 37
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("admin");
echo "
<script type=\"text/javascript\">
jQuery(function(\$) {
\$('[data-toggle=\"tooltip\"]').tooltip();
});
\$(document).ajaxError(function() {
//\$('.pop-loader').slideUp(300);
\$('.pop-error-loader').slideUp(300);
// setTimeout(function() {
// \$('.pop-error-loader').slideUp(300);
// }, 3000);
});
\$(document).ajaxSuccess(function() {
\$('.pop-loader').slideUp(300);
});
\$(document).ajaxSend(function() {
if(!\$('.pop-loader').is(':visible')) \$('.pop-loader').slideDown(300);
});
function isTablet() {
const userAgent = navigator.userAgent.toLowerCase();
const tabletKeys = ['tablet', 'ipad', 'kindle', 'fire', 'silk', 'android'];
const mobileKey = 'mobile';
const models = [\"SM-F936B\", \"SM-F936B/DS\", \"SM-F936U\", \"SM-F936U1\", \"SM-F936N\", \"SM-F936W\"];
const isZFold4 = models.some(model => navigator.userAgent.includes(model));
if (userAgent.includes(mobileKey)) {
return false;
}
for (const key of tabletKeys) {
if (userAgent.includes(key)) {
if (isZFold4) {
return false;
}
return true;
}
}
const touchSupported = ('ontouchstart' in window) || (navigator.maxTouchPoints > 0);
const screenSize = window.screen.width >= 600;
return touchSupported && screenSize;
}
window.addEventListener(\"touchstart\", function (event) {
if(isTablet()){
if(\$(event.target).is('.iCheck-helper') || \$(event.target).is('.control-label__text')){
\$(event.target).trigger('click');
}
}
});
let isDragging = false;
function simulateMouseEvent(event, simulatedType) {
if (event.target.classList.contains('sonata-ba-sortable-handler')) {
let simulatedEvent = new MouseEvent(simulatedType, {
bubbles: true,
cancelable: true,
view: window,
detail: 1,
screenX: event.changedTouches[0].screenX,
screenY: event.changedTouches[0].screenY,
clientX: event.changedTouches[0].clientX,
clientY: event.changedTouches[0].clientY,
});
event.target.dispatchEvent(simulatedEvent);
if (simulatedType === 'mousemove') {
event.preventDefault();
}
}
}
document.addEventListener(\"touchstart\", function(e) {
isDragging = true;
simulateMouseEvent(e, \"mousedown\");
}, false);
document.addEventListener(\"touchmove\", function(e) {
if (isDragging) {
simulateMouseEvent(e, \"mousemove\");
}
}, { passive: false });
document.addEventListener(\"touchend\", function(e) {
isDragging = false;
simulateMouseEvent(e, \"mouseup\");
}, false);
//\$('.pop-loader').slideUp(300);
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 140
public function block_logo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "logo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "logo"));
// line 141
echo " ";
ob_start();
// line 142
echo " <a class=\"logo\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sonata_admin_dashboard");
echo "\">
";
// line 143
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MASTER")) {
// line 144
echo " ";
if (((0 === twig_compare("icon", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 144, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 144))) || (0 === twig_compare("all", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 144, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 144))))) {
// line 145
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 145, $this->source); })()), "getOption", [0 => "default_icon"], "method", false, false, false, 145)), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 145, $this->source); })()), "title", [], "any", false, false, false, 145), "html", null, true);
echo "\">
";
}
// line 147
echo " ";
if (((0 === twig_compare("text", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 147, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 147))) || (0 === twig_compare("all", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 147, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 147))))) {
// line 148
echo " <span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 148, $this->source); })()), "title", [], "any", false, false, false, 148), "html", null, true);
echo "</span>
";
}
// line 150
echo " ";
} else {
// line 151
echo " ";
$context["logoAdmin"] = $this->extensions['App\Twig\LogoExtension']->getUserEntrepriseLogo();
// line 152
echo " ";
if ((isset($context["logoAdmin"]) || array_key_exists("logoAdmin", $context) ? $context["logoAdmin"] : (function () { throw new RuntimeError('Variable "logoAdmin" does not exist.', 152, $this->source); })())) {
// line 153
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/entreprises_logos/" . (isset($context["logoAdmin"]) || array_key_exists("logoAdmin", $context) ? $context["logoAdmin"] : (function () { throw new RuntimeError('Variable "logoAdmin" does not exist.', 153, $this->source); })()))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 153, $this->source); })()), "title", [], "any", false, false, false, 153), "html", null, true);
echo "\">
";
} else {
// line 155
echo " ";
if (((0 === twig_compare("icon", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 155, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 155))) || (0 === twig_compare("all", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 155, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 155))))) {
// line 156
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/zada_logo_large.png"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 156, $this->source); })()), "title", [], "any", false, false, false, 156), "html", null, true);
echo "\">
";
}
// line 158
echo " ";
if (((0 === twig_compare("text", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 158, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 158))) || (0 === twig_compare("all", twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 158, $this->source); })()), "getOption", [0 => "logo_content"], "method", false, false, false, 158))))) {
// line 159
echo " <span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sonata_config"]) || array_key_exists("sonata_config", $context) ? $context["sonata_config"] : (function () { throw new RuntimeError('Variable "sonata_config" does not exist.', 159, $this->source); })()), "title", [], "any", false, false, false, 159), "html", null, true);
echo "</span>
";
}
// line 161
echo " ";
}
// line 162
echo " ";
}
// line 163
echo " </a>
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 141
echo twig_spaceless($___internal_parse_0_);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 167
public function block_sonata_top_nav_menu($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_top_nav_menu"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_top_nav_menu"));
// line 168
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 168, $this->source); })()), "user", [], "any", false, false, false, 168)) {
// line 169
echo " <div class=\"navbar-custom-menu\">
<ul class=\"nav navbar-nav\">
";
// line 171
$this->displayBlock('sonata_top_nav_menu_add_block', $context, $blocks);
// line 174
echo " ";
$this->displayBlock('sonata_top_nav_menu_user_block', $context, $blocks);
// line 187
echo " </ul>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 171
public function block_sonata_top_nav_menu_add_block($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_top_nav_menu_add_block"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_top_nav_menu_add_block"));
// line 172
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 174
public function block_sonata_top_nav_menu_user_block($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_top_nav_menu_user_block"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_top_nav_menu_user_block"));
// line 175
echo " <li class=\"bonjour-nav\"><a>Bonjour ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 175, $this->source); })()), "user", [], "any", false, false, false, 175), "prenom", [], "any", false, false, false, 175), "html", null, true);
echo "</a></li>
<li class=\"dropdown user-menu\">
<a class=\"dropdown-toggle\" data-toggle=\"tooltip\" title=\"Dashboard\" href=\"";
// line 177
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sonata_admin_dashboard");
echo "\">
<i class=\"fa fa-home\" aria-hidden=\"true\" style=\"position: relative;\">";
// line 178
if (twig_length_filter($this->env, twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 178, $this->source); })()), "user", [], "any", false, false, false, 178), "infosSuivis", [], "any", false, false, false, 178), function ($__info__) use ($context, $macros) { $context["info"] = $__info__; return !twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 178, $this->source); })()), "lu", [], "any", false, false, false, 178); }))) {
echo "<span class=\"notifs-chip\"></span>";
}
echo "</i>
</a>
</li>
<li class=\"dropdown user-menu\">
<a class=\"dropdown-toggle\" data-toggle=\"tooltip\" title=\"Déconnexion\" href=\"";
// line 182
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login_logout");
echo "\">
<i class=\"fa fa-sign-out fa-fw\" aria-hidden=\"true\"></i>
</a>
</li>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 192
public function block_sonata_wrapper($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_wrapper"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_wrapper"));
// line 193
echo " ";
$this->displayParentBlock("sonata_wrapper", $context, $blocks);
echo "
<div class=\"pop-loader\">
<i class=\"fa fa-cog\" aria-hidden=\"true\"></i> Chargement en cours...
</div>
<div class=\"pop-loader-manuel\">
<i class=\"fa fa-cog\" aria-hidden=\"true\"></i> Mise à jour du tableau...
</div>
<div class=\"pop-error-loader\">
<i class=\"fa fa-frown-o\" aria-hidden=\"true\"></i> Une erreur est survenue !
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 208
public function block_sonata_admin_content_actions_wrappers($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_admin_content_actions_wrappers"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_admin_content_actions_wrappers"));
// line 209
echo " ";
if ( !twig_test_empty(twig_trim_filter(twig_replace_filter((isset($context["_actions"]) || array_key_exists("_actions", $context) ? $context["_actions"] : (function () { throw new RuntimeError('Variable "_actions" does not exist.', 209, $this->source); })()), ["<li>" => "", "</li>" => ""])))) {
// line 210
echo " <ul class=\"nav navbar-nav ";
if ((0 === twig_compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 210, $this->source); })()), "list"))) {
echo "navbar-left";
}
echo "\">
";
// line 211
if ((1 === twig_compare(twig_length_filter($this->env, twig_split_filter($this->env, (isset($context["_actions"]) || array_key_exists("_actions", $context) ? $context["_actions"] : (function () { throw new RuntimeError('Variable "_actions" does not exist.', 211, $this->source); })()), "</a>")), 2))) {
// line 212
echo " <li class=\"dropdown sonata-actions\">
<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">";
// line 213
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_actions", [], "SonataAdminBundle"), "html", null, true);
echo " <b class=\"caret\"></b></a>
<ul class=\"dropdown-menu\" role=\"menu\">
";
// line 215
echo (isset($context["_actions"]) || array_key_exists("_actions", $context) ? $context["_actions"] : (function () { throw new RuntimeError('Variable "_actions" does not exist.', 215, $this->source); })());
echo "
</ul>
</li>
";
} else {
// line 219
echo " ";
echo (isset($context["_actions"]) || array_key_exists("_actions", $context) ? $context["_actions"] : (function () { throw new RuntimeError('Variable "_actions" does not exist.', 219, $this->source); })());
echo "
";
}
// line 221
echo " </ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 225
public function block_sonata_head_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_head_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sonata_head_title"));
// line 226
echo " Zada |
";
// line 228
if ( !twig_test_empty((isset($context["_title"]) || array_key_exists("_title", $context) ? $context["_title"] : (function () { throw new RuntimeError('Variable "_title" does not exist.', 228, $this->source); })()))) {
// line 229
echo " ";
echo twig_striptags((isset($context["_title"]) || array_key_exists("_title", $context) ? $context["_title"] : (function () { throw new RuntimeError('Variable "_title" does not exist.', 229, $this->source); })()));
echo "
";
} else {
// line 231
echo " ";
if (array_key_exists("action", $context)) {
// line 232
echo " ";
echo $this->env->getRuntime('Sonata\AdminBundle\Twig\BreadcrumbsRuntime')->renderBreadcrumbsForTitle($this->env, (isset($context["admin"]) || array_key_exists("admin", $context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.', 232, $this->source); })()), (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 232, $this->source); })()));
echo "
";
}
// line 234
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "sonata/standard_layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 628 => 234, 622 => 232, 619 => 231, 613 => 229, 611 => 228, 607 => 226, 597 => 225, 585 => 221, 579 => 219, 572 => 215, 567 => 213, 564 => 212, 562 => 211, 555 => 210, 552 => 209, 542 => 208, 517 => 193, 507 => 192, 492 => 182, 483 => 178, 479 => 177, 473 => 175, 463 => 174, 452 => 172, 442 => 171, 429 => 187, 426 => 174, 424 => 171, 420 => 169, 417 => 168, 407 => 167, 397 => 141, 393 => 163, 390 => 162, 387 => 161, 381 => 159, 378 => 158, 370 => 156, 367 => 155, 359 => 153, 356 => 152, 353 => 151, 350 => 150, 344 => 148, 341 => 147, 333 => 145, 330 => 144, 328 => 143, 323 => 142, 320 => 141, 310 => 140, 198 => 37, 192 => 35, 182 => 34, 170 => 31, 164 => 29, 154 => 28, 140 => 24, 138 => 23, 132 => 21, 122 => 20, 106 => 13, 102 => 12, 98 => 11, 95 => 10, 92 => 9, 89 => 8, 86 => 7, 84 => 6, 78 => 4, 68 => 3, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SonataAdmin/standard_layout.html.twig' %}
{% block meta_tags %}
{{ parent() }}
{% set favicon_path = '/favicon/' %}
{% if 'test.genesii.fr' in app.request.host %}
{% set favicon_path = '/favicon-test/' %}
{% endif %}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ favicon_path }}apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ favicon_path }}favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ favicon_path }}favicon-16x16.png\">
<link rel=\"manifest\" href=\"/favicon/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/favicon/safari-pinned-tab.svg\" color=\"#2c2c2c\">
<meta name=\"msapplication-TileColor\" content=\"#2c2c2c\">
<meta name=\"theme-color\" content=\"#2c2c2c\">
{% endblock %}
{% block admin_lte_skin_class %}
{{ parent() }}
{% if admin.code is defined %}
admin-view-{{ admin.code|replace({'.': '-'})|lower }}
{% endif %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('admin') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('admin') }}
<script type=\"text/javascript\">
jQuery(function(\$) {
\$('[data-toggle=\"tooltip\"]').tooltip();
});
\$(document).ajaxError(function() {
//\$('.pop-loader').slideUp(300);
\$('.pop-error-loader').slideUp(300);
// setTimeout(function() {
// \$('.pop-error-loader').slideUp(300);
// }, 3000);
});
\$(document).ajaxSuccess(function() {
\$('.pop-loader').slideUp(300);
});
\$(document).ajaxSend(function() {
if(!\$('.pop-loader').is(':visible')) \$('.pop-loader').slideDown(300);
});
function isTablet() {
const userAgent = navigator.userAgent.toLowerCase();
const tabletKeys = ['tablet', 'ipad', 'kindle', 'fire', 'silk', 'android'];
const mobileKey = 'mobile';
const models = [\"SM-F936B\", \"SM-F936B/DS\", \"SM-F936U\", \"SM-F936U1\", \"SM-F936N\", \"SM-F936W\"];
const isZFold4 = models.some(model => navigator.userAgent.includes(model));
if (userAgent.includes(mobileKey)) {
return false;
}
for (const key of tabletKeys) {
if (userAgent.includes(key)) {
if (isZFold4) {
return false;
}
return true;
}
}
const touchSupported = ('ontouchstart' in window) || (navigator.maxTouchPoints > 0);
const screenSize = window.screen.width >= 600;
return touchSupported && screenSize;
}
window.addEventListener(\"touchstart\", function (event) {
if(isTablet()){
if(\$(event.target).is('.iCheck-helper') || \$(event.target).is('.control-label__text')){
\$(event.target).trigger('click');
}
}
});
let isDragging = false;
function simulateMouseEvent(event, simulatedType) {
if (event.target.classList.contains('sonata-ba-sortable-handler')) {
let simulatedEvent = new MouseEvent(simulatedType, {
bubbles: true,
cancelable: true,
view: window,
detail: 1,
screenX: event.changedTouches[0].screenX,
screenY: event.changedTouches[0].screenY,
clientX: event.changedTouches[0].clientX,
clientY: event.changedTouches[0].clientY,
});
event.target.dispatchEvent(simulatedEvent);
if (simulatedType === 'mousemove') {
event.preventDefault();
}
}
}
document.addEventListener(\"touchstart\", function(e) {
isDragging = true;
simulateMouseEvent(e, \"mousedown\");
}, false);
document.addEventListener(\"touchmove\", function(e) {
if (isDragging) {
simulateMouseEvent(e, \"mousemove\");
}
}, { passive: false });
document.addEventListener(\"touchend\", function(e) {
isDragging = false;
simulateMouseEvent(e, \"mouseup\");
}, false);
//\$('.pop-loader').slideUp(300);
</script>
{% endblock %}
{% block logo %}
{% apply spaceless %}
<a class=\"logo\" href=\"{{ path('sonata_admin_dashboard') }}\">
{% if is_granted('ROLE_MASTER') %}
{% if 'icon' == sonata_config.getOption('logo_content') or 'all' == sonata_config.getOption('logo_content') %}
<img src=\"{{ asset(sonata_config.getOption('default_icon')) }}\" alt=\"{{ sonata_config.title }}\">
{% endif %}
{% if 'text' == sonata_config.getOption('logo_content') or 'all' == sonata_config.getOption('logo_content') %}
<span>{{ sonata_config.title }}</span>
{% endif %}
{% else %}
{% set logoAdmin = get_user_entreprise_logo() %}
{% if logoAdmin %}
<img src=\"{{ asset('uploads/entreprises_logos/' ~ logoAdmin) }}\" alt=\"{{ sonata_config.title }}\">
{% else %}
{% if 'icon' == sonata_config.getOption('logo_content') or 'all' == sonata_config.getOption('logo_content') %}
<img src=\"{{ asset('build/images/zada_logo_large.png') }}\" alt=\"{{ sonata_config.title }}\">
{% endif %}
{% if 'text' == sonata_config.getOption('logo_content') or 'all' == sonata_config.getOption('logo_content') %}
<span>{{ sonata_config.title }}</span>
{% endif %}
{% endif %}
{% endif %}
</a>
{% endapply %}
{% endblock %}
{% block sonata_top_nav_menu %}
{% if app.user %}
<div class=\"navbar-custom-menu\">
<ul class=\"nav navbar-nav\">
{% block sonata_top_nav_menu_add_block %}
{% endblock %}
{% block sonata_top_nav_menu_user_block %}
<li class=\"bonjour-nav\"><a>Bonjour {{ app.user.prenom }}</a></li>
<li class=\"dropdown user-menu\">
<a class=\"dropdown-toggle\" data-toggle=\"tooltip\" title=\"Dashboard\" href=\"{{ path('sonata_admin_dashboard') }}\">
<i class=\"fa fa-home\" aria-hidden=\"true\" style=\"position: relative;\">{% if app.user.infosSuivis|filter(info => not info.lu)|length %}<span class=\"notifs-chip\"></span>{% endif %}</i>
</a>
</li>
<li class=\"dropdown user-menu\">
<a class=\"dropdown-toggle\" data-toggle=\"tooltip\" title=\"Déconnexion\" href=\"{{ path('login_logout') }}\">
<i class=\"fa fa-sign-out fa-fw\" aria-hidden=\"true\"></i>
</a>
</li>
{% endblock %}
</ul>
</div>
{% endif %}
{% endblock %}
{% block sonata_wrapper %}
{{ parent() }}
<div class=\"pop-loader\">
<i class=\"fa fa-cog\" aria-hidden=\"true\"></i> Chargement en cours...
</div>
<div class=\"pop-loader-manuel\">
<i class=\"fa fa-cog\" aria-hidden=\"true\"></i> Mise à jour du tableau...
</div>
<div class=\"pop-error-loader\">
<i class=\"fa fa-frown-o\" aria-hidden=\"true\"></i> Une erreur est survenue !
</div>
{% endblock sonata_wrapper %}
{% block sonata_admin_content_actions_wrappers %}
{% if _actions|replace({ '<li>': '', '</li>': '' })|trim is not empty %}
<ul class=\"nav navbar-nav {% if action == 'list' %}navbar-left{% endif %}\">
{% if _actions|split('</a>')|length > 2 %}
<li class=\"dropdown sonata-actions\">
<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">{{ 'link_actions'|trans({}, 'SonataAdminBundle') }} <b class=\"caret\"></b></a>
<ul class=\"dropdown-menu\" role=\"menu\">
{{ _actions|raw }}
</ul>
</li>
{% else %}
{{ _actions|raw }}
{% endif %}
</ul>
{% endif %}
{% endblock sonata_admin_content_actions_wrappers %}
{% block sonata_head_title %}
Zada |
{% if _title is not empty %}
{{ _title|striptags|raw }}
{% else %}
{% if action is defined %}
{{ render_breadcrumbs_for_title(admin, action) }}
{% endif %}
{% endif %}
{% endblock %}
", "sonata/standard_layout.html.twig", "/home/clients/d5fc483de73e2cf6f126c55abcd1b2e6/sites/lk1.test.genesii.fr/templates/sonata/standard_layout.html.twig");
}
}