/
home
/
obinna
/
html
/
boaz2
/
var
/
cache
/
prod
/
twig
/
d7
/
Upload File
HOME
<?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; /* release/unsigned.html.twig */ class __TwigTemplate_0302b5f6709c8e3a216cdbd57211dc0b065404e37bcc9f57c474fdd2401007e5 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "base1.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base1.html.twig", "release/unsigned.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 4 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 5 echo "\t<div class=\"content\"> \t <div class=\"container-fluid\"> \t <div class=\"row\"> \t <div class=\"col-md-12\"> \t <div class=\"card\"> \t <div class=\"header\" style=\"display: flex; justify-content: space-between; align-items: center;\"> \t <h4 class=\"title\">Release Orders</h4> \t\t\t\t\t\t\t<form action=\""; // line 12 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("unsignedReleases"); echo "\"> \t\t\t\t\t\t\t\t<div class=\"form-group\" style=\"display: flex;\"> \t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"year\" placeholder=\"Year\" value=\""; // line 14 echo twig_escape_filter($this->env, ($context["year"] ?? null), "html", null, true); echo "\" style=\"border-color: #ccc; color: #222;\"> \t\t\t\t\t\t\t\t\t<button class=\"btn btn-primary\">Submit</button> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</form> \t </div> \t <div class=\"content table-responsive table-full-width\"> <table class=\"table table-hover\" data-page-length='100'> <thead> \t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t<th>Release Order Name</th> \t\t\t\t\t\t\t\t\t\t\t<th>Date</th> \t\t\t\t\t\t\t\t\t\t\t<th>Actions</th> \t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t\t</thead> <tbody> \t\t\t\t\t\t\t\t\t\t"; // line 29 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["release"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 30 echo "\t\t\t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t\t\t<td>"; // line 31 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 31), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t\t\t\t<td>"; // line 32 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "dates", [], "any", false, false, false, 32), "d-m-Y"), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t\t\t\t<td><a href=\""; // line 33 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewRelease", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 33)]), "html", null, true); echo "\">View Release Order</a></td> \t\t\t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 36 echo "\t\t\t\t\t\t\t\t\t</tbody> </table> </div> \t </div> \t </div> \t \t </div> \t </div> \t</div> "; } public function getTemplateName() { return "release/unsigned.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 106 => 36, 97 => 33, 93 => 32, 89 => 31, 86 => 30, 82 => 29, 64 => 14, 59 => 12, 50 => 5, 46 => 4, 35 => 1,); } public function getSourceContext() { return new Source("", "release/unsigned.html.twig", "/var/www/html/boaz2/templates/release/unsigned.html.twig"); } }