<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* install/post_update_step.html.twig */
class __TwigTemplate_b23b55571498d4cb53deb8d367adc0ef extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 32
        yield "
";
        // line 33
        if ((($tmp =  !($context["is_db_consistent"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 34
            yield "    <div class=\"alert alert-important alert-danger my-2 mx-4\" role=\"alert\">
        <i class=\"fas fa-2x fa-exclamation-triangle align-middle\"></i>
        ";
            // line 36
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("The database schema is not consistent with the current GLPI version."), "html", null, true);
            yield "<br />
        ";
            // line 37
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(__("It is recommended to run the \"%s\" command to see the differences."), "php bin/console database:check_schema_integrity"), "html", null, true);
            yield "
    </div>
";
        }
        // line 40
        yield "
<h2>";
        // line 41
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("One last thing before starting"), "html", null, true);
        yield "</h2>

<p>
   ";
        // line 44
        yield ($context["glpinetwork"] ?? null);
        yield "
</p>

";
        // line 47
        if ((($tmp =  !($context["telemetry_enabled"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 48
            yield "   <hr>
   <p>
      ";
            // line 50
            yield ($context["telemetry_info"] ?? null);
            yield "
   </p>
";
        }
        // line 53
        yield "
<hr>
<p>
   ";
        // line 56
        yield ($context["reference_info"] ?? null);
        yield "
</p>

<hr>
<form action=\"update.php\" method=\"post\" data-submit-once>
   <div class=\"text-center\">
      <button type=\"submit\" class=\"btn btn-primary\">
         <i class=\"fas fa-thumbs-up me-1\"></i>
         ";
        // line 64
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Use GLPI"), "html", null, true);
        yield "
      </button>
   </div>

   <input type=\"hidden\" name=\"update_end\" value=\"1\">
   <input type=\"hidden\" name=\"_glpi_csrf_token\" value=\"";
        // line 69
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Session::getNewCSRFToken(), "html", null, true);
        yield "\">
</form>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "install/post_update_step.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  112 => 69,  104 => 64,  93 => 56,  88 => 53,  82 => 50,  78 => 48,  76 => 47,  70 => 44,  64 => 41,  61 => 40,  55 => 37,  51 => 36,  47 => 34,  45 => 33,  42 => 32,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "install/post_update_step.html.twig", "/home/tisoluci/public_html/crpamplona/templates/install/post_update_step.html.twig");
    }
}
