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.pages", 1 => "admin.super"))) { // line 2 echo "
env, $this->getAttribute(($context["uri"] ?? null), "route", array(0 => true), "method"), "html", null, true); echo "/pages\">"; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MANAGE_PAGES"), "html", null, true); echo "

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

"; // line 8 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["admin"] ?? null), "latestPages", array())); foreach ($context['_seq'] as $context["_key"] => $context["latest"]) { if ($this->getAttribute(($context["admin"] ?? null), "latestPages", array())) { // line 9 echo " "; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['latest'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo "
env, ($context["base_url"] ?? null), "html", null, true); echo "/pages/"; echo twig_escape_filter($this->env, twig_trim_filter($this->getAttribute($context["latest"], "route", array()), "/"), "html", null, true); echo "\"> "; echo twig_escape_filter($this->env, $this->getAttribute($context["latest"], "title", array())); echo " "; // line 12 echo twig_escape_filter($this->env, $this->getAttribute($context["latest"], "route", array()), "html", null, true); echo ""; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->adminNicetimeFilter($this->getAttribute($context["latest"], "modified", array())), "html", null, true); echo "
"; } else { // line 18 echo "
You don't have sufficient access to view the dashboard...
"; } } public function getTemplateName() { return "partials/dashboard-pages.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 71 => 18, 66 => 15, 54 => 12, 46 => 11, 42 => 9, 37 => 8, 32 => 6, 25 => 4, 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.pages', 'admin.super']) %}
{{ \"PLUGIN_ADMIN.MANAGE_PAGES\"|tu }}

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

{% for latest in admin.latestPages if admin.latestPages %} {% endfor %}
{{ latest.title|e }} {{ latest.route }}{{ latest.modified|adminNicetime }}
{% else %}
You don't have sufficient access to view the dashboard...
{% endif %} ", "partials/dashboard-pages.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/dashboard-pages.html.twig"); } }