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/publications.html.twig */
class __TwigTemplate_648481af8006ef9adf25d5bcb19edd76822fa568ab98c219f118660bcd5091e4 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/publications.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/publications.html.twig" ));
$this -> parent = $this -> loadTemplate ( "base.html.twig" , "frontend/publications.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 eSDD - Publications" ;
// 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 eSDD - Publications" ;
// line 8
echo " " ;
$context [ "metaDescription" ] = "Enjoy going through some of of SANRAL SMME's publications" ;
// 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=\"row no-gutters py-4\">
<div class=\"col-md-9 px-3\">
<div class=\"row\">
<div class=\"col-12 pb-3 no-gutters-sm\">
<h1 class=\"display-4\">Publications</h1>
</div>
<div class=\"col-12 no-gutters-left\">
<!-- Desktop -->
<div class=\"table-responsive-md d-none d-md-block\">
<table class=\"table table-striped\">
<thead class=\"rain-forest\">
<tr class=\"text-white text-uppercase font-weight-light\">
<th style=\"text-align: left;\" scope=\"col\"><strong>Publication</strong></th>
<th scope=\"col\"><strong>Date of Publication</strong></th>
<th scope=\"col\"><strong>Description of Publication</strong></th>
<th></th>
</tr>
</thead>
<tbody>
" ;
// line 48
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ((isset( $context [ "publications" ]) || array_key_exists ( "publications" , $context ) ? $context [ "publications" ] : (function () { throw new RuntimeError ( 'Variable "publications" does not exist.' , 48 , $this -> source ); })()));
foreach ( $context [ '_seq' ] as $context [ "_key" ] => $context [ "publication" ]) {
// line 49
echo " <tr>
<th style=\"text-align: left;\" scope=\"row\">
<strong>" ;
// line 51
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "title" , [], "any" , false , false , false , 51 ), "html" , null , true );
echo "</strong>
</th>
<td>
" ;
// line 54
echo twig_escape_filter ( $this -> env , twig_date_format_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "datePublished" , [], "any" , false , false , false , 54 ), "Y-m-d" ), "html" , null , true );
echo "
</td>
<td>
" ;
// line 58
echo twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "description" , [], "any" , false , false , false , 58 );
echo "
</td>
<td>
" ;
// line 61
if ( twig_length_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "file" , [], "any" , false , false , false , 61 ))) {
// line 62
echo " <a href=\"" ;
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\RoutingExtension' ]-> getPath ( "publication_download_page" , [ "publication_id" => twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "id" , [], "any" , false , false , false , 62 )]), "html" , null , true );
echo "\" class=\"fas fa-download\" style=\"font-size: 24px\"></a>
" ;
}
// line 64
echo " </td>
</tr>
" ;
}
$_parent = $context [ '_parent' ];
unset( $context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'publication' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 67
echo " </tbody>
</table>
</div>
<!-- Mobile -->
<div class=\"d-block d-md-none\">
" ;
// line 74
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ((isset( $context [ "publications" ]) || array_key_exists ( "publications" , $context ) ? $context [ "publications" ] : (function () { throw new RuntimeError ( 'Variable "publications" does not exist.' , 74 , $this -> source ); })()));
foreach ( $context [ '_seq' ] as $context [ "_key" ] => $context [ "publication" ]) {
// line 75
echo " <div class=\"row rain-forest\">
<div class=\"col-12 font-weight-bold text-white\" style=\"padding: 15px\">
" ;
// line 77
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "title" , [], "any" , false , false , false , 77 ), "html" , null , true );
echo "
</div>
</div>
<div class=\"row\" style=\"background-color:#f0f0f0\">
<div class=\"col-12\" style=\"padding: 15px\">
<b>Date:</b> " ;
// line 82
echo twig_escape_filter ( $this -> env , twig_date_format_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "datePublished" , [], "any" , false , false , false , 82 ), "Y-m-d" ), "html" , null , true );
echo "
</div>
</div>
<div class=\"row\">
<div class=\"col-12 teaser-3-lines bl br bb\" style=\"padding: 15px; padding-bottom: 0px; margin-bottom: 15px\">
" ;
// line 87
echo twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "description" , [], "any" , false , false , false , 87 );
echo "
</div>
</div>
<div class=\"row\" style=\"background-color:#f0f0f0; text-align: center\">
<div class=\"col-12\">
" ;
// line 92
if ( twig_length_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "file" , [], "any" , false , false , false , 92 ))) {
// line 93
echo " <a href=\"" ;
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\RoutingExtension' ]-> getPath ( "publication_download_page" , [ "publication_id" => twig_get_attribute ( $this -> env , $this -> source , $context [ "publication" ], "id" , [], "any" , false , false , false , 93 )]), "html" , null , true );
echo "\" style=\"font-size: 24px\">
<i class=\"fas fa-download\"></i>
<span style=\"font-size: 18px; line-height: 24px\">Download</span>
</a>
" ;
}
// line 98
echo " </div>
</div>
" ;
}
$_parent = $context [ '_parent' ];
unset( $context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'publication' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 101
echo " </div>
</div>
</div>
</div>
<div class=\"col-md-3\" style=\"margin-top: 73px\">
" ;
// line 107
echo $this -> env -> getRuntime ( 'Symfony\Bridge\Twig\Extension\HttpKernelRuntime' )-> renderFragment ( Symfony\Bridge\Twig\Extension\HttpKernelExtension :: controller ( "App\\Controller\\CarouselController::getCarousel" , [ "page" => "publications" ]));
// line 112
echo "
</div>
</div>
</div>
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
public function getTemplateName ()
{
return "frontend/publications.html.twig" ;
}
public function isTraitable ()
{
return false ;
}
public function getDebugInfo ()
{
return array ( 315 => 112 , 313 => 107 , 305 => 101 , 297 => 98 , 288 => 93 , 286 => 92 , 278 => 87 , 270 => 82 , 262 => 77 , 258 => 75 , 254 => 74 , 245 => 67 , 237 => 64 , 231 => 62 , 229 => 61 , 223 => 58 , 216 => 54 , 210 => 51 , 206 => 49 , 202 => 48 , 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 eSDD - Publications' %}
{{ metaTitle }}
{% endblock %}
{% block meta_decription %}
{% set metaTitle = 'SANRAL eSDD - Publications' %}
{% set metaDescription = \"Enjoy going through some of of SANRAL SMME's publications\" %}
<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=\"row no-gutters py-4\">
<div class=\"col-md-9 px-3\">
<div class=\"row\">
<div class=\"col-12 pb-3 no-gutters-sm\">
<h1 class=\"display-4\">Publications</h1>
</div>
<div class=\"col-12 no-gutters-left\">
<!-- Desktop -->
<div class=\"table-responsive-md d-none d-md-block\">
<table class=\"table table-striped\">
<thead class=\"rain-forest\">
<tr class=\"text-white text-uppercase font-weight-light\">
<th style=\"text-align: left;\" scope=\"col\"><strong>Publication</strong></th>
<th scope=\"col\"><strong>Date of Publication</strong></th>
<th scope=\"col\"><strong>Description of Publication</strong></th>
<th></th>
</tr>
</thead>
<tbody>
{% for publication in publications %}
<tr>
<th style=\"text-align: left;\" scope=\"row\">
<strong>{{ publication.title }}</strong>
</th>
<td>
{{ publication.datePublished|date('Y-m-d') }}
</td>
<td>
{{ publication.description|raw }}
</td>
<td>
{% if publication.file|length %}
<a href=\"{{ path('publication_download_page', {'publication_id': publication.id}) }}\" class=\"fas fa-download\" style=\"font-size: 24px\"></a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<!-- Mobile -->
<div class=\"d-block d-md-none\">
{% for publication in publications %}
<div class=\"row rain-forest\">
<div class=\"col-12 font-weight-bold text-white\" style=\"padding: 15px\">
{{ publication.title }}
</div>
</div>
<div class=\"row\" style=\"background-color:#f0f0f0\">
<div class=\"col-12\" style=\"padding: 15px\">
<b>Date:</b> {{ publication.datePublished|date('Y-m-d') }}
</div>
</div>
<div class=\"row\">
<div class=\"col-12 teaser-3-lines bl br bb\" style=\"padding: 15px; padding-bottom: 0px; margin-bottom: 15px\">
{{ publication.description|raw }}
</div>
</div>
<div class=\"row\" style=\"background-color:#f0f0f0; text-align: center\">
<div class=\"col-12\">
{% if publication.file|length %}
<a href=\"{{ path('publication_download_page', {'publication_id': publication.id}) }}\" style=\"font-size: 24px\">
<i class=\"fas fa-download\"></i>
<span style=\"font-size: 18px; line-height: 24px\">Download</span>
</a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"col-md-3\" style=\"margin-top: 73px\">
{{ render(controller(
'App\\\\Controller\\\\CarouselController::getCarousel',
{
'page': 'publications'
}
)) }}
</div>
</div>
</div>
{% endblock %}" , "frontend/publications.html.twig" , "/var/www/html/sanralsmme/templates/frontend/publications.html.twig" );
}
}