Current File : /home/escuelai/public_html/it/files/_cache/templates/47/4788dfdc6e31d9599d52a064c4ab5476.php |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* components/itilobject/timeline/new_form.html.twig */
class __TwigTemplate_27ee9ff96c0a6f7b0ecd6e236acc7744 extends Template
{
private $source;
private $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 = [])
{
$macros = $this->macros;
// line 33
echo "
";
// line 34
$context["users_id"] = $this->extensions['Glpi\Application\View\Extension\SessionExtension']->session("glpiID");
// line 35
echo "
<div class=\"itil-timeline\">
<div class=\"timeline-item ITILContent\">
<div class=\"row\">
<div class=\"col-auto d-flex flex-column picture-block\">
";
// line 40
echo twig_include($this->env, $context, "components/user/picture.html.twig", ["users_id" => ($context["users_id"] ?? null)], false);
echo "
</div>
<div class=\"col-12 col-sm content-block\">
<div class=\"d-flex\">
<div class=\"d-none d-md-block\">
<strong>";
// line 45
echo $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemLink("User", ($context["users_id"] ?? null));
echo "</strong>
</div>
</div>
<span class=\"mt-2 timeline-content left card\">
<div class=\"card-body\">
";
// line 50
if (twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 50)) {
// line 51
echo " <div class=\"alert alert-info\" role=\"alert\">
";
// line 52
ob_start(function () { return ''; });
// line 53
echo " <span class=\"ms-1\">
";
// line 54
echo $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Entity::badgeCompletename", [0 => $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemName("Entity", (($__internal_compile_0 = twig_get_attribute($this->env, $this->source, // line 55
($context["item"] ?? null), "fields", [], "any", false, false, false, 55)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["entities_id"] ?? null) : null))]);
// line 56
echo "
</span>
";
$context["entitybadge"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 59
echo "
";
// line 60
echo twig_sprintf(__("%1\$s will be added in entity %2\$s"), twig_get_attribute($this->env, $this->source, // line 61
($context["item"] ?? null), "getTypeName", [0 => 1], "method", false, false, false, 61), // line 62
($context["entitybadge"] ?? null));
// line 63
echo "
</div>
";
}
// line 66
echo "
";
// line 67
echo twig_include($this->env, $context, "components/itilobject/timeline/simple_form.html.twig", ["no_form" => true]);
// line 69
echo "
</div>
</span>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "components/itilobject/timeline/new_form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 100 => 69, 98 => 67, 95 => 66, 90 => 63, 88 => 62, 87 => 61, 86 => 60, 83 => 59, 78 => 56, 76 => 55, 75 => 54, 72 => 53, 70 => 52, 67 => 51, 65 => 50, 57 => 45, 49 => 40, 42 => 35, 40 => 34, 37 => 33,);
}
public function getSourceContext()
{
return new Source("", "components/itilobject/timeline/new_form.html.twig", "/home/escuelai/public_html/it/templates/components/itilobject/timeline/new_form.html.twig");
}
}