*/ 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($this->env->getFunction('__')->getCallable()("dashboard.title"), "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($this->env->getFunction('__')->getCallable()("dashboard.title"), "html", null, true); yield "

"; // line 16 if ((($tmp = ($context["seo_pending"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 17 yield "
"; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.seo_warning_title"), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.seo_warning_message"), "html", null, true); yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("admin/system/install-seo"), "html", null, true); yield "\" class=\"btn btn-warning btn-sm ms-2\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.seo_install_repair_button"), "html", null, true); yield "
"; } // line 23 yield " "; // line 24 if ((($tmp = ($context["cache_cleared"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 25 yield "
"; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.cache_cleared_title"), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.cache_cleared_message", ["files" => ($context["deleted_count"] ?? null), "opcache" => (((($tmp = ($context["opcache_cleared"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getFunction('__')->getCallable()("dashboard.yes")) : ($this->env->getFunction('__')->getCallable()("dashboard.no")))]), "html", null, true); yield "
"; } // line 30 yield " "; // line 31 if ((($tmp = ($context["seo_pending"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 32 yield "
"; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.seo_warning_title"), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.seo_missing_message"), "html", null, true); yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("admin/system/install-seo"), "html", null, true); yield "\" class=\"btn btn-warning btn-sm ms-2\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.seo_install_button"), "html", null, true); yield "
"; } // line 38 yield "
Syspanel Enterprise

Conheça também os outros serviços Syspanel

A solução definitiva para empresas que buscam excelência operacional, automação inteligente e crescimento escalável. Tudo o que você precisa em uma única plataforma.

Performance Ultra-Rápida

Decisões em tempo real com dados precisos.

Segurança Avançada

Proteção de dados de nível corporativo.

+250%
Aumento em produtividade média
"; // line 112 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "role", [], "any", false, false, false, 112) == "super_admin")) { // line 113 yield "
"; // line 119 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.total_companies"), "html", null, true); yield "
"; // line 120 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["stats"] ?? null), "total_companies", [], "any", false, false, false, 120), "html", null, true); yield "
"; // line 136 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.active_companies"), "html", null, true); yield "
"; // line 137 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["stats"] ?? null), "active_companies", [], "any", false, false, false, 137), "html", null, true); yield "
"; // line 153 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.total_users"), "html", null, true); yield "
"; // line 154 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["stats"] ?? null), "total_users", [], "any", false, false, false, 154), "html", null, true); yield "
"; // line 170 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.active_users"), "html", null, true); yield "
"; // line 171 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["stats"] ?? null), "active_users", [], "any", false, false, false, 171), "html", null, true); yield "
"; } // line 181 yield "
"; // line 184 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["widgets"] ?? null)) > 0)) { // line 185 yield "
"; // line 186 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["widgets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["widget"]) { // line 187 yield "
"; // line 188 yield $context["widget"]; yield "
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['widget'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 191 yield "
"; } // line 193 yield "
"; // line 197 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.recent_activity"), "html", null, true); yield "
"; // line 200 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["recent_activity"] ?? null)) > 0)) { // line 201 yield "
"; // line 212 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["recent_activity"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["activity"]) { // line 213 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['activity'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 224 yield "
"; // line 205 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.activity.user"), "html", null, true); yield " "; // line 206 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.activity.action"), "html", null, true); yield " "; // line 207 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.activity.resource"), "html", null, true); yield " "; // line 208 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.activity.date"), "html", null, true); yield "
"; // line 214 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "user_name", [], "any", false, false, false, 214), "html", null, true); yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "action_color", [], "any", true, true, false, 216)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "action_color", [], "any", false, false, false, 216), "secondary")) : ("secondary")), "html", null, true); yield "\"> "; // line 217 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()(("dashboard.activity." . CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "action", [], "any", false, false, false, 217))), "html", null, true); yield " "; // line 220 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "resource_type", [], "any", false, false, false, 220), "html", null, true); yield " #"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "resource_id", [], "any", false, false, false, 220), "html", null, true); yield " "; // line 221 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "created_at", [], "any", false, false, false, 221), "d/m/Y H:i"), "html", null, true); yield "
"; } else { // line 228 yield "

"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.no_recent_activity"), "html", null, true); yield "

"; } // line 230 yield "
"; // line 238 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.welcome", ["platformName" => ($context["platformName"] ?? null)]), "html", null, true); yield "

"; // line 241 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.welcome_message", ["name" => CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "name", [], "any", false, false, false, 241)]), "html", null, true); yield "

"; // line 243 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "role", [], "any", false, false, false, 243) == "super_admin")) { // line 244 yield " "; } // line 252 yield " "; // line 253 if (((CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "role", [], "any", false, false, false, 253) == "admin") || (CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "role", [], "any", false, false, false, 253) == "user"))) { // line 254 yield "
"; // line 256 yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "role", [], "any", false, false, false, 256) == "admin")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.admin_info"), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("dashboard.user_info"), "html", null, true))); yield "
"; } // line 259 yield "
"; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "dashboard/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 502 => 262, 498 => 261, 494 => 259, 488 => 256, 484 => 254, 482 => 253, 479 => 252, 472 => 248, 468 => 247, 464 => 246, 460 => 244, 458 => 243, 453 => 241, 447 => 238, 437 => 230, 431 => 228, 425 => 224, 416 => 221, 410 => 220, 404 => 217, 400 => 216, 395 => 214, 392 => 213, 388 => 212, 381 => 208, 377 => 207, 373 => 206, 369 => 205, 363 => 201, 361 => 200, 355 => 197, 349 => 193, 345 => 191, 336 => 188, 333 => 187, 329 => 186, 326 => 185, 324 => 184, 319 => 181, 306 => 171, 302 => 170, 283 => 154, 279 => 153, 260 => 137, 256 => 136, 237 => 120, 233 => 119, 225 => 113, 223 => 112, 147 => 38, 138 => 34, 132 => 33, 129 => 32, 127 => 31, 124 => 30, 115 => 26, 112 => 25, 110 => 24, 107 => 23, 98 => 19, 92 => 18, 89 => 17, 87 => 16, 75 => 7, 72 => 6, 65 => 5, 52 => 3, 41 => 1,); } public function getSourceContext(): Source { return new Source("", "dashboard/index.twig", "/app/templates/dashboard/index.twig"); } }