parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["gpm"] = $this->getAttribute(($context["admin"] ?? null), "gpm", array(), "method"); // line 2 $context["installed"] = $this->getAttribute(($context["gpm"] ?? null), "isPluginInstalled", array(0 => $this->getAttribute(($context["admin"] ?? null), "route", array())), "method"); // line 3 $context["isTestingRelease"] = $this->getAttribute(($context["gpm"] ?? null), "isTestingRelease", array(0 => $this->getAttribute(($context["plugin"] ?? null), "slug", array())), "method"); // line 4 $context["gumroad_loaded"] = false; // line 5 echo "
env, $this->getAttribute(($context["admin"] ?? null), "route", array()), "html", null, true); echo "\">

"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(($context["plugin"] ?? null), "name", array())); echo " "; // line 11 if ($this->getAttribute(($context["admin"] ?? null), "isTeamGrav", array(0 => ($context["plugin"] ?? null)), "method")) { // line 12 echo " env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.GRAV_OFFICIAL_PLUGIN"), "html", null, true); echo "\"> "; } // line 14 echo " "; if ($this->getAttribute(($context["admin"] ?? null), "isPremiumProduct", array(0 => ($context["plugin"] ?? null)), "method")) { // line 15 echo " "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PREMIUM_PRODUCT"), "html", null, true); echo " "; } // line 17 echo " "; if ($this->getAttribute(($context["plugin"] ?? null), "symlink", array())) { // line 18 echo " env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PLUGIN_SYMBOLICALLY_LINKED"), "html", null, true); echo "\"> "; } // line 22 echo " "; echo twig_escape_filter($this->env, (($this->getAttribute(($context["plugin"] ?? null), "version", array())) ? (("v" . twig_escape_filter($this->env, $this->getAttribute(($context["plugin"] ?? null), "version", array())))) : ("")), "html", null, true); echo " "; // line 23 if (($context["isTestingRelease"] ?? null)) { echo "test release"; } // line 24 echo "

env, $this->getAttribute(($context["plugin"] ?? null), "icon", array()), "html", null, true); echo "\"> "; // line 27 $this->loadTemplate("partials/plugin-data.html.twig", "partials/plugins-details.html.twig", 27)->display(array_merge($context, array("plugin" => ($context["plugin"] ?? null)))); // line 28 echo "
"; // line 30 if (($context["installed"] ?? null)) { // line 31 echo " "; $context["data"] = $this->getAttribute(($context["admin"] ?? null), "data", array(0 => ("plugins/" . $this->getAttribute(($context["admin"] ?? null), "route", array()))), "method"); // line 32 echo " "; $this->loadTemplate("partials/blueprints.html.twig", "partials/plugins-details.html.twig", 32)->display(array_merge($context, array("data" => ($context["data"] ?? null), "blueprints" => $this->getAttribute(($context["data"] ?? null), "blueprints", array())))); // line 33 echo " "; // line 34 if ((($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["plugin"] ?? null), "form", array()), "fields", array()), "enabled", array()), "type", array()) != "hidden") && ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["plugin"] ?? null), "form", array()), "fields", array()), "tabs", array()), "fields", array()), "login", array()), "fields", array()), "enabled", array()), "type", array()) != "hidden"))) { // line 35 echo "
"; // line 37 if ( !$this->getAttribute(($context["plugin"] ?? null), "symlink", array())) { // line 38 echo " "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REINSTALL_PLUGIN"), "html", null, true); echo " "; } // line 40 echo " "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REMOVE_PLUGIN"), "html", null, true); echo "
"; } // line 43 echo " "; } else { // line 45 echo "
"; // line 46 if (($this->getAttribute(($context["plugin"] ?? null), "premium", array()) && !$this->getAttribute(($context["admin"] ?? null), "license", array(0 => $this->getAttribute(($context["plugin"] ?? null), "slug", array())), "method"))) { // line 47 echo " "; if ( !($context["gumroad_loaded"] ?? null)) { // line 48 echo " "; $context["gumroad_loaded"] = true; // line 49 echo " "; } // line 51 echo " env, $this->getAttribute($this->getAttribute(($context["plugin"] ?? null), "premium", array()), "product_permalink", array()), "html", null, true); echo "\" target=\"_blank\" data-gumroad-single-product=\"true\"> "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("Buy Now"), "html", null, true); echo " "; } else { // line 53 echo " env, $this->getAttribute(($context["plugin"] ?? null), "slug", array()), "html", null, true); echo "\" data-plugin-action=\"start-package-installation\"> "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.INSTALL_PLUGIN"), "html", null, true); echo " "; } // line 55 echo "
"; } // line 57 echo " "; // line 58 $this->loadTemplate("partials/modal-changes-detected.html.twig", "partials/plugins-details.html.twig", 58)->display($context); // line 59 $this->loadTemplate("partials/modal-add-package.html.twig", "partials/plugins-details.html.twig", 59)->display(array_merge($context, array("type" => "plugin"))); // line 60 $this->loadTemplate("partials/modal-update-packages.html.twig", "partials/plugins-details.html.twig", 60)->display(array_merge($context, array("type" => "plugin"))); // line 61 $this->loadTemplate("partials/modal-remove-package.html.twig", "partials/plugins-details.html.twig", 61)->display(array_merge($context, array("type" => "plugin", "package" => ($context["plugin"] ?? null)))); // line 62 $this->loadTemplate("partials/modal-reinstall-package.html.twig", "partials/plugins-details.html.twig", 62)->display(array_merge($context, array("type" => "plugin", "package" => ($context["plugin"] ?? null)))); } public function getTemplateName() { return "partials/plugins-details.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 174 => 62, 172 => 61, 170 => 60, 168 => 59, 166 => 58, 163 => 57, 159 => 55, 151 => 53, 143 => 51, 139 => 49, 136 => 48, 133 => 47, 131 => 46, 128 => 45, 124 => 43, 117 => 40, 111 => 38, 109 => 37, 105 => 35, 103 => 34, 100 => 33, 97 => 32, 94 => 31, 92 => 30, 88 => 28, 86 => 27, 82 => 26, 78 => 24, 74 => 23, 69 => 22, 61 => 18, 58 => 17, 52 => 15, 49 => 14, 43 => 12, 41 => 11, 37 => 10, 30 => 6, 27 => 5, 25 => 4, 23 => 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("{% set gpm = admin.gpm() %} {% set installed = gpm.isPluginInstalled(admin.route) %} {% set isTestingRelease = gpm.isTestingRelease(plugin.slug) %} {% set gumroad_loaded = false %}

{{ plugin.name|e }} {% if admin.isTeamGrav(plugin) %} {% endif %} {% if admin.isPremiumProduct(plugin) %} {{ \"PLUGIN_ADMIN.PREMIUM_PRODUCT\"|tu }} {% endif %} {% if plugin.symlink %} {% endif %} {{ plugin.version ? 'v' ~ plugin.version|e }} {% if isTestingRelease %}test release{% endif %}

{% include 'partials/plugin-data.html.twig' with { plugin: plugin } %}
{% if (installed) %} {% set data = admin.data('plugins/' ~ admin.route) %} {% include 'partials/blueprints.html.twig' with { data: data, blueprints: data.blueprints } %} {% if (plugin.form.fields.enabled.type != 'hidden' and plugin.form.fields.tabs.fields.login.fields.enabled.type != 'hidden') %}
{% if not plugin.symlink %} {{ \"PLUGIN_ADMIN.REINSTALL_PLUGIN\"|tu }} {% endif %} {{ \"PLUGIN_ADMIN.REMOVE_PLUGIN\"|tu }}
{% endif %} {% else %}
{% if (plugin.premium and not admin.license(plugin.slug)) %} {% if not gumroad_loaded %} {% set gumroad_loaded = true %} {% endif %} {{ \"Buy Now\"|tu }} {% else %} {{ \"PLUGIN_ADMIN.INSTALL_PLUGIN\"|tu }} {% endif %}
{% endif %} {% include 'partials/modal-changes-detected.html.twig' %} {% include 'partials/modal-add-package.html.twig' with { type: 'plugin' } %} {% include 'partials/modal-update-packages.html.twig' with { type: 'plugin' } %} {% include 'partials/modal-remove-package.html.twig' with { type: 'plugin', package: plugin } %} {% include 'partials/modal-reinstall-package.html.twig' with { type: 'plugin', package: plugin } %} ", "partials/plugins-details.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/plugins-details.html.twig"); } }