*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 1 return "layouts/dashboard.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $this->parent = $this->load("layouts/dashboard.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 /** * @return iterable */ public function block_title(array $context, array $blocks = []): iterable { $macros = $this->macros; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield " - "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["platformName"] ?? null), "html", null, true); yield from []; } // line 5 /** * @return iterable */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 6 yield "

"; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield "

  1. env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("dashboard"), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.menu.dashboard"), "html", null, true); yield "
  2. "; // line 10 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield "
"; // line 17 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("configindex.list_title"), "html", null, true); yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("admin/configindex"), "html", null, true); yield "\" method=\"GET\" class=\"d-inline-flex align-items-center\">
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("admin/configindex/create"), "html", null, true); yield "\" class=\"btn btn-success btn-sm\"> Nova Página
"; // line 43 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["pages"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["name"]) { // line 44 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['key'], $context['name'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 82 yield "
"; // line 37 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("configindex.page_name"), "html", null, true); yield " Localização do Arquivo "; // line 39 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("configindex.actions"), "html", null, true); yield "
"; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true); yield " ("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true); yield ") "; // line 50 if ((($context["currentTheme"] ?? null) == "default")) { // line 51 yield " modules/index/views/"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true); yield ".twig "; } else { // line 53 yield " themes/"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["currentTheme"] ?? null), "html", null, true); yield "/modules/index/views/"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true); yield ".twig "; } // line 55 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()((("admin/configindex/" . $context["key"]) . "/edit")), "html", null, true); yield "?theme="; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["currentTheme"] ?? null), "html", null, true); yield "\" class=\"btn btn-primary btn-sm\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("configindex.edit"), "html", null, true); yield "\"> Editar "; // line 63 if ((($context["currentTheme"] ?? null) == "default")) { // line 64 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()((("admin/configindex/" . $context["key"]) . "/toggle-status")), "html", null, true); yield "\" method=\"POST\" style=\"display:inline;\">
"; // line 70 if (($context["key"] != "index")) { // line 71 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()((("admin/configindex/" . $context["key"]) . "/delete")), "html", null, true); yield "\" method=\"POST\" style=\"display:inline;\" onsubmit=\"return confirm('Tem certeza que deseja excluir esta página e todos os seus arquivos?');\">
"; } // line 77 yield " "; } // line 78 yield "
"; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "configindex/views/admin/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 239 => 82, 230 => 78, 227 => 77, 217 => 71, 215 => 70, 205 => 64, 203 => 63, 192 => 59, 186 => 55, 178 => 53, 172 => 51, 170 => 50, 161 => 46, 157 => 44, 153 => 43, 146 => 39, 141 => 37, 129 => 28, 124 => 25, 111 => 23, 107 => 22, 101 => 19, 96 => 17, 86 => 10, 80 => 9, 75 => 7, 72 => 6, 65 => 5, 52 => 3, 41 => 1,); } public function getSourceContext(): Source { return new Source("", "configindex/views/admin/index.twig", "/app/modules/configindex/views/admin/index.twig"); } }