Deprecated : Return type of Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 256
Deprecated : Return type of Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 261
Deprecated : Return type of Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 268
Deprecated : Return type of Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 278
Deprecated : Return type of Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 22
Deprecated : Return type of Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 38
Deprecated : Return type of Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 30
Deprecated : Return type of Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 43
Deprecated : Return type of Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 14
Deprecated : Return type of Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 49
Symfony Profiler
<?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 ;
/* frontend/tenders.html.twig */
class __TwigTemplate_63c0a904a7a9ae61df3ca4d728d6514ae660e37fd369f99d1e176698b65f300c extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'title' => [ $this , 'block_title' ],
'meta_decription' => [ $this , 'block_meta_decription' ],
'stylesheets' => [ $this , 'block_stylesheets' ],
'layout' => [ $this , 'block_layout' ],
];
}
protected function doGetParent (array $context )
{
// line 1
return "base.html.twig" ;
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "frontend/tenders.html.twig" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "frontend/tenders.html.twig" ));
$this -> parent = $this -> loadTemplate ( "base.html.twig" , "frontend/tenders.html.twig" , 1 );
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
}
// line 2
public function block_title ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
// line 3
echo " " ;
$context [ "metaTitle" ] = "SANRAL SMME Tenders - Building South Africa Through Better Roads" ;
// line 4
echo " " ;
echo twig_escape_filter ( $this -> env , (isset( $context [ "metaTitle" ]) || array_key_exists ( "metaTitle" , $context ) ? $context [ "metaTitle" ] : (function () { throw new RuntimeError ( 'Variable "metaTitle" does not exist.' , 4 , $this -> source ); })()), "html" , null , true );
echo "
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 6
public function block_meta_decription ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "meta_decription" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "meta_decription" ));
// line 7
echo " " ;
$context [ "metaTitle" ] = "SANRAL SMME Tenders - Building South Africa Through Better Roads" ;
// line 8
echo " " ;
$context [ "metaDescription" ] = "Building South Africa Through Better Roads" ;
// line 9
echo " <meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"Sanral\" />
<meta name=\"twitter:title\" content=\"" ;
// line 11
echo twig_escape_filter ( $this -> env , (isset( $context [ "metaTitle" ]) || array_key_exists ( "metaTitle" , $context ) ? $context [ "metaTitle" ] : (function () { throw new RuntimeError ( 'Variable "metaTitle" does not exist.' , 11 , $this -> source ); })()), "html" , null , true );
echo "\" />
<meta name=\"twitter:description\" content=\"" ;
// line 12
echo twig_escape_filter ( $this -> env , (isset( $context [ "metaDescription" ]) || array_key_exists ( "metaDescription" , $context ) ? $context [ "metaDescription" ] : (function () { throw new RuntimeError ( 'Variable "metaDescription" does not exist.' , 12 , $this -> source ); })()), "html" , null , true );
echo "\" />
" ;
// line 14
echo " <meta name=\"twitter:url\" content=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "app" ]) || array_key_exists ( "app" , $context ) ? $context [ "app" ] : (function () { throw new RuntimeError ( 'Variable "app" does not exist.' , 14 , $this -> source ); })()), "request" , [], "any" , false , false , false , 14 ), "uri" , [], "any" , false , false , false , 14 ), "html" , null , true );
echo "\" />
" ;
// line 17
echo " <meta name=\"og:title\" content=\"" ;
echo twig_escape_filter ( $this -> env , (isset( $context [ "metaTitle" ]) || array_key_exists ( "metaTitle" , $context ) ? $context [ "metaTitle" ] : (function () { throw new RuntimeError ( 'Variable "metaTitle" does not exist.' , 17 , $this -> source ); })()), "html" , null , true );
echo "\" />
<meta name=\"og:description\" content=\"" ;
// line 18
echo twig_escape_filter ( $this -> env , (isset( $context [ "metaDescription" ]) || array_key_exists ( "metaDescription" , $context ) ? $context [ "metaDescription" ] : (function () { throw new RuntimeError ( 'Variable "metaDescription" does not exist.' , 18 , $this -> source ); })()), "html" , null , true );
echo "\" />
<meta name=\"og:url\" content=\"" ;
// line 19
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "app" ]) || array_key_exists ( "app" , $context ) ? $context [ "app" ] : (function () { throw new RuntimeError ( 'Variable "app" does not exist.' , 19 , $this -> source ); })()), "request" , [], "any" , false , false , false , 19 ), "uri" , [], "any" , false , false , false , 19 ), "html" , null , true );
echo "\" />
<meta name=\"description\" content=\"" ;
// line 20
echo twig_escape_filter ( $this -> env , (isset( $context [ "metaDescription" ]) || array_key_exists ( "metaDescription" , $context ) ? $context [ "metaDescription" ] : (function () { throw new RuntimeError ( 'Variable "metaDescription" does not exist.' , 20 , $this -> source ); })()), "html" , null , true );
echo "\">
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 22
public function block_stylesheets ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
// line 23
echo " " ;
$this -> displayParentBlock ( "stylesheets" , $context , $blocks );
echo "
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 26
public function block_layout ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "layout" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "layout" ));
// line 27
echo " <div id=\"content-wrapper\" class=\"container-fluid\">
<div class=\"container-fluid\">
<div class=\"px-3\">
<!-- Desktop -->
<div class=\"d-none d-md-flex row my-4\">
<div class=\"col-12 col-md-8 pl-0\">
<div class=\"row mx-0\">
<div class=\"col-md-3 pl-0\">
<div class=\"single-tender-region\" style=\"background-image: url(" ;
// line 35
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl (( "images/regions/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "region" ]) || array_key_exists ( "region" , $context ) ? $context [ "region" ] : (function () { throw new RuntimeError ( 'Variable "region" does not exist.' , 35 , $this -> source ); })()), "thumbnail" , [], "any" , false , false , false , 35 ))), "html" , null , true );
echo ")\"></div>
<div class=\"single-tender-meta\">" ;
// line 36
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "region" ]) || array_key_exists ( "region" , $context ) ? $context [ "region" ] : (function () { throw new RuntimeError ( 'Variable "region" does not exist.' , 36 , $this -> source ); })()), "Region" , [], "any" , false , false , false , 36 ), "html" , null , true );
echo "</div>
</div>
<div class=\"col-md-3 pl-0 text-center\">
<div class=\"single-tender-sector mx-auto\" style=\"background-image: url(" ;
// line 39
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl (( "images/categories/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "category" ]) || array_key_exists ( "category" , $context ) ? $context [ "category" ] : (function () { throw new RuntimeError ( 'Variable "category" does not exist.' , 39 , $this -> source ); })()), "thumbnail" , [], "any" , false , false , false , 39 ))), "html" , null , true );
echo ")\"></div>
<div class=\"single-tender-meta\">" ;
// line 40
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "category" ]) || array_key_exists ( "category" , $context ) ? $context [ "category" ] : (function () { throw new RuntimeError ( 'Variable "category" does not exist.' , 40 , $this -> source ); })()), "category" , [], "any" , false , false , false , 40 ), "html" , null , true );
echo "</div>
</div>
" ;
// line 42
if ( ! twig_test_empty ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 42 , $this -> source ); })()), "grade" , [], "any" , false , false , false , 42 ))) {
// line 43
echo " <div class=\"col-md-6 pl-0 text-center\">
<div class=\"single-tender-grade mx-auto text-white\">
<span class=\"cidb-inner\">
" ;
// line 46
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 46 , $this -> source ); })()), "grade" , [], "any" , false , false , false , 46 ), "html" , null , true );
echo "
</span>
</div>
<div class=\"single-tender-meta\">CIDB Grade " ;
// line 49
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 49 , $this -> source ); })()), "grade" , [], "any" , false , false , false , 49 ), "html" , null , true );
echo "</div>
</div>
" ;
}
// line 52
echo " </div>
</div>
<div class=\"col-12 col-md-4\">
" ;
// line 55
if (((isset( $context [ "documents" ]) || array_key_exists ( "documents" , $context ) ? $context [ "documents" ] : (function () { throw new RuntimeError ( 'Variable "documents" does not exist.' , 55 , $this -> source ); })()) != 0 )) {
// line 56
echo " <a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\" data-toggle=\"modal\" data-target=\"#modalDownload\">
Download Tender Document(s)
</a>
" ;
}
// line 60
echo " </div>
</div>
<!-- Mobile -->
<div class=\"d-flex d-md-none row\">
<div class=\"col-12 pl-0 text-center\">
<div class=\"single-tender-region\" style=\"background-image: url(" ;
// line 66
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl (( "images/regions/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "region" ]) || array_key_exists ( "region" , $context ) ? $context [ "region" ] : (function () { throw new RuntimeError ( 'Variable "region" does not exist.' , 66 , $this -> source ); })()), "thumbnail" , [], "any" , false , false , false , 66 ))), "html" , null , true );
echo ");background-position: center\"></div>
<div class=\"single-tender-meta\">" ;
// line 67
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "region" ]) || array_key_exists ( "region" , $context ) ? $context [ "region" ] : (function () { throw new RuntimeError ( 'Variable "region" does not exist.' , 67 , $this -> source ); })()), "Region" , [], "any" , false , false , false , 67 ), "html" , null , true );
echo "</div>
</div>
<div class=\"col-12 pl-0 text-center\">
<div class=\"single-tender-sector mx-auto\" style=\"background-image: url(" ;
// line 70
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl (( "images/categories/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "category" ]) || array_key_exists ( "category" , $context ) ? $context [ "category" ] : (function () { throw new RuntimeError ( 'Variable "category" does not exist.' , 70 , $this -> source ); })()), "thumbnail" , [], "any" , false , false , false , 70 ))), "html" , null , true );
echo ")\"></div>
<div class=\"single-tender-meta\">" ;
// line 71
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "category" ]) || array_key_exists ( "category" , $context ) ? $context [ "category" ] : (function () { throw new RuntimeError ( 'Variable "category" does not exist.' , 71 , $this -> source ); })()), "category" , [], "any" , false , false , false , 71 ), "html" , null , true );
echo "</div>
</div>
" ;
// line 73
if ( ! twig_test_empty ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 73 , $this -> source ); })()), "grade" , [], "any" , false , false , false , 73 ))) {
// line 74
echo " <div class=\"col-12 pl-0 text-center\">
<div class=\"single-tender-grade mx-auto text-white\">
<span class=\"cidb-inner\">
" ;
// line 77
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 77 , $this -> source ); })()), "grade" , [], "any" , false , false , false , 77 ), "html" , null , true );
echo "
</span>
</div>
<div class=\"single-tender-meta\">CIDB Grade " ;
// line 80
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 80 , $this -> source ); })()), "grade" , [], "any" , false , false , false , 80 ), "html" , null , true );
echo "</div>
</div>
" ;
}
// line 83
echo " <div class=\"col-12\">
" ;
// line 84
if (((isset( $context [ "documents" ]) || array_key_exists ( "documents" , $context ) ? $context [ "documents" ] : (function () { throw new RuntimeError ( 'Variable "documents" does not exist.' , 84 , $this -> source ); })()) != 0 )) {
// line 85
echo " <a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\" data-toggle=\"modal\" data-target=\"#modalDownload\">
Download Tender Document(s)
</a>
" ;
}
// line 89
echo " </div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt>Closing Date</dt>
<dt></dt>
<dd>
<time datetime=\"Friday, 16 October 2020\" itemprop=\"datePublished\">
" ;
// line 98
echo twig_escape_filter ( $this -> env , twig_date_format_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 98 , $this -> source ); })()), "closingDate" , [], "any" , false , false , false , 98 ), "l d F Y" ), "html" , null , true );
echo "
" ;
// line 99
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 99 , $this -> source ); })()), "closingTime" , [], "any" , false , false , false , 99 ), "html" , null , true );
echo ":00:00
</time>
</dd>
</div>
<div class=\"col tender-detail\">
<dt>Project Number</dt>
<dt></dt>
<dd>" ;
// line 106
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 106 , $this -> source ); })()), "projectNumber" , [], "any" , false , false , false , 106 ), "html" , null , true );
echo "</dd>
</div>
<div class=\"col tender-detail\">
<dt>B-BBEE Status</dt>
<dt></dt>
<dd>" ;
// line 111
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 111 , $this -> source ); })()), "beeee" , [], "any" , false , false , false , 111 ), "html" , null , true );
echo "</dd>
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt>Mandatory Attendance</dt>
" ;
// line 117
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 117 , $this -> source ); })()), "compulsory" , [], "any" , false , false , false , 117 ) == 1 )) {
// line 118
echo " Compulsory
" ;
}
// line 120
echo " " ;
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 120 , $this -> source ); })()), "compulsory" , [], "any" , false , false , false , 120 ) == 2 )) {
// line 121
echo " Non-Compulsory
" ;
}
// line 123
echo " </div>
<div class=\"col tender-detail\">
<dt>Location</dt>
" ;
// line 126
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , // line 127
(isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 127 , $this -> source ); })()), "location" , [], "any" , false , false , false , 127 ), "html" , null , true );
// line 128
echo "
</div>
<div class=\"col tender-detail\">
<dt>Date time</dt>
<time>
" ;
// line 133
echo twig_escape_filter ( $this -> env , twig_date_format_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , // line 134
(isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 134 , $this -> source ); })()), "briefDate" , [], "any" , false , false , false , 134 ), "Y-m-d h:i:s" ), "html" , null , true );
// line 135
echo "
</time>
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt>Contract Description</dt>
<dt></dt>
<dd>
" ;
// line 144
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 144 , $this -> source ); })()), "contractDescription" , [], "any" , false , false , false , 144 ), "html" , null , true );
echo "
</dd>
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt class=\"my-2\">Tender Notice</dt>
<dt></dt>
<dd>
" ;
// line 153
echo twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 153 , $this -> source ); })()), "tenderNotice" , [], "any" , false , false , false , 153 );
echo "
</dd>
</div>
</div>
</div>
</div>
</div>
<!-- Tender download -->
<div class=\"modal fade\" id=\"modalDownload\" tabindex=\"-1\" role=\"dialog\" aria-label=\"myModalLabel\" aria-hidden=\"true\">
" ;
// line 163
echo $this -> env -> getRuntime ( 'Symfony\Bridge\Twig\Extension\HttpKernelRuntime' )-> renderFragment ( Symfony\Bridge\Twig\Extension\HttpKernelExtension :: controller ( "App\\Controller\\TendersController::getDownloadForm" , [ "id" => twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "tender" ]) || array_key_exists ( "tender" , $context ) ? $context [ "tender" ] : (function () { throw new RuntimeError ( 'Variable "tender" does not exist.' , 163 , $this -> source ); })()), "id" , [], "any" , false , false , false , 163 )]));
echo "
</div>
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
public function getTemplateName ()
{
return "frontend/tenders.html.twig" ;
}
public function isTraitable ()
{
return false ;
}
public function getDebugInfo ()
{
return array ( 406 => 163 , 393 => 153 , 381 => 144 , 370 => 135 , 368 => 134 , 367 => 133 , 360 => 128 , 358 => 127 , 357 => 126 , 352 => 123 , 348 => 121 , 345 => 120 , 341 => 118 , 339 => 117 , 330 => 111 , 322 => 106 , 312 => 99 , 308 => 98 , 297 => 89 , 291 => 85 , 289 => 84 , 286 => 83 , 280 => 80 , 274 => 77 , 269 => 74 , 267 => 73 , 262 => 71 , 258 => 70 , 252 => 67 , 248 => 66 , 240 => 60 , 234 => 56 , 232 => 55 , 227 => 52 , 221 => 49 , 215 => 46 , 210 => 43 , 208 => 42 , 203 => 40 , 199 => 39 , 193 => 36 , 189 => 35 , 179 => 27 , 169 => 26 , 156 => 23 , 146 => 22 , 134 => 20 , 130 => 19 , 126 => 18 , 121 => 17 , 115 => 14 , 111 => 12 , 107 => 11 , 103 => 9 , 100 => 8 , 97 => 7 , 87 => 6 , 74 => 4 , 71 => 3 , 61 => 2 , 38 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends 'base.html.twig' %}
{% block title %}
{% set metaTitle = 'SANRAL SMME Tenders - Building South Africa Through Better Roads' %}
{{ metaTitle }}
{% endblock %}
{% block meta_decription %}
{% set metaTitle = 'SANRAL SMME Tenders - Building South Africa Through Better Roads' %}
{% set metaDescription = 'Building South Africa Through Better Roads' %}
<meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"Sanral\" />
<meta name=\"twitter:title\" content=\"{{ metaTitle }}\" />
<meta name=\"twitter:description\" content=\"{{ metaDescription }}\" />
{# <meta name=\"twitter:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
<meta name=\"twitter:url\" content=\"{{ app.request.uri }}\" />
{# <meta name=\"og:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
<meta name=\"og:title\" content=\"{{ metaTitle }}\" />
<meta name=\"og:description\" content=\"{{ metaDescription }}\" />
<meta name=\"og:url\" content=\"{{ app.request.uri }}\" />
<meta name=\"description\" content=\"{{ metaDescription }}\">
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block layout %}
<div id=\"content-wrapper\" class=\"container-fluid\">
<div class=\"container-fluid\">
<div class=\"px-3\">
<!-- Desktop -->
<div class=\"d-none d-md-flex row my-4\">
<div class=\"col-12 col-md-8 pl-0\">
<div class=\"row mx-0\">
<div class=\"col-md-3 pl-0\">
<div class=\"single-tender-region\" style=\"background-image: url({{ asset('images/regions/'~region.thumbnail) }})\"></div>
<div class=\"single-tender-meta\">{{ region.Region }}</div>
</div>
<div class=\"col-md-3 pl-0 text-center\">
<div class=\"single-tender-sector mx-auto\" style=\"background-image: url({{ asset('images/categories/'~category.thumbnail) }})\"></div>
<div class=\"single-tender-meta\">{{ category.category }}</div>
</div>
{% if tender.grade is not empty %}
<div class=\"col-md-6 pl-0 text-center\">
<div class=\"single-tender-grade mx-auto text-white\">
<span class=\"cidb-inner\">
{{ tender.grade }}
</span>
</div>
<div class=\"single-tender-meta\">CIDB Grade {{ tender.grade }}</div>
</div>
{% endif %}
</div>
</div>
<div class=\"col-12 col-md-4\">
{% if documents != 0 %}
<a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\" data-toggle=\"modal\" data-target=\"#modalDownload\">
Download Tender Document(s)
</a>
{% endif %}
</div>
</div>
<!-- Mobile -->
<div class=\"d-flex d-md-none row\">
<div class=\"col-12 pl-0 text-center\">
<div class=\"single-tender-region\" style=\"background-image: url({{ asset('images/regions/'~region.thumbnail) }});background-position: center\"></div>
<div class=\"single-tender-meta\">{{ region.Region }}</div>
</div>
<div class=\"col-12 pl-0 text-center\">
<div class=\"single-tender-sector mx-auto\" style=\"background-image: url({{ asset('images/categories/'~category.thumbnail) }})\"></div>
<div class=\"single-tender-meta\">{{ category.category }}</div>
</div>
{% if tender.grade is not empty %}
<div class=\"col-12 pl-0 text-center\">
<div class=\"single-tender-grade mx-auto text-white\">
<span class=\"cidb-inner\">
{{ tender.grade }}
</span>
</div>
<div class=\"single-tender-meta\">CIDB Grade {{ tender.grade }}</div>
</div>
{% endif %}
<div class=\"col-12\">
{% if documents != 0 %}
<a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\" data-toggle=\"modal\" data-target=\"#modalDownload\">
Download Tender Document(s)
</a>
{% endif %}
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt>Closing Date</dt>
<dt></dt>
<dd>
<time datetime=\"Friday, 16 October 2020\" itemprop=\"datePublished\">
{{ tender.closingDate|date('l d F Y') }}
{{ tender.closingTime }}:00:00
</time>
</dd>
</div>
<div class=\"col tender-detail\">
<dt>Project Number</dt>
<dt></dt>
<dd>{{ tender.projectNumber }}</dd>
</div>
<div class=\"col tender-detail\">
<dt>B-BBEE Status</dt>
<dt></dt>
<dd>{{ tender.beeee }}</dd>
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt>Mandatory Attendance</dt>
{% if tender.compulsory == 1%}
Compulsory
{% endif %}
{% if tender.compulsory == 2%}
Non-Compulsory
{% endif %}
</div>
<div class=\"col tender-detail\">
<dt>Location</dt>
{{
tender.location
}}
</div>
<div class=\"col tender-detail\">
<dt>Date time</dt>
<time>
{{
tender.briefDate|date('Y-m-d h:i:s')
}}
</time>
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt>Contract Description</dt>
<dt></dt>
<dd>
{{ tender.contractDescription }}
</dd>
</div>
</div>
<div class=\"row\">
<div class=\"col tender-detail\">
<dt class=\"my-2\">Tender Notice</dt>
<dt></dt>
<dd>
{{ tender.tenderNotice|raw }}
</dd>
</div>
</div>
</div>
</div>
</div>
<!-- Tender download -->
<div class=\"modal fade\" id=\"modalDownload\" tabindex=\"-1\" role=\"dialog\" aria-label=\"myModalLabel\" aria-hidden=\"true\">
{{ render(controller('App\\\\Controller\\\\TendersController::getDownloadForm',{'id':tender.id})) }}
</div>
{% endblock %}" , "frontend/tenders.html.twig" , "/var/www/html/sanralsmme/templates/frontend/tenders.html.twig" );
}
}