parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize(array(0 => "admin.maintenance", 1 => "admin.super"))) { // line 2 echo " "; $context["backup"] = $this->getAttribute(($context["admin"] ?? null), "lastBackup", array(), "method"); // line 3 echo "

"; // line 6 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MAINTENANCE"), "html", null, true); echo "

env, twig_jsonencode_filter(array("series" => array(0 => 100, 1 => 0))), "html_attr"); echo "\">
-"; // line 11 echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.UPDATED")), "html", null, true); echo "

 

env, twig_jsonencode_filter(array("series" => array(0 => $this->getAttribute(($context["backup"] ?? null), "chart_fill", array()), 1 => $this->getAttribute(($context["backup"] ?? null), "chart_empty", array())))), "html_attr"); echo "\">
"; // line 18 echo $this->getAttribute(($context["backup"] ?? null), "days", array()); echo ""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.DAYS")), "html", null, true); echo "

"; // line 20 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.LAST_BACKUP"), "html", null, true); echo "

"; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.UPDATE"), "html", null, true); echo "
"; // line 31 $this->loadTemplate("partials/modal-update-packages.html.twig", "partials/dashboard-maintenance.html.twig", 31)->display(array_merge($context, array("type" => "plugin"))); // line 32 echo " "; } } public function getTemplateName() { return "partials/dashboard-maintenance.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 84 => 32, 82 => 31, 72 => 26, 68 => 25, 60 => 20, 53 => 18, 47 => 15, 40 => 11, 34 => 8, 29 => 6, 24 => 3, 21 => 2, 19 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Twig_Source("{% if authorize(['admin.maintenance', 'admin.super']) %} {% set backup = admin.lastBackup() %}

{{ \"PLUGIN_ADMIN.MAINTENANCE\"|tu }}

-{{ \"PLUGIN_ADMIN.UPDATED\"|tu|lower }}

 

{{ backup.days|raw }}{{ \"PLUGIN_ADMIN.DAYS\"|tu|lower }}

{{ \"PLUGIN_ADMIN.LAST_BACKUP\"|tu }}

{{ \"PLUGIN_ADMIN.UPDATE\"|tu }}
{% include 'partials/modal-update-packages.html.twig' with { type: 'plugin' } %} {% endif %} ", "partials/dashboard-maintenance.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/dashboard-maintenance.html.twig"); } }