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

var/cache/dev/twig/df/dfc98842a86c1891da120a40a6d60e895767190ad69e4feba14db50f239393ab.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* frontend/publications.html.twig */
  14. class __TwigTemplate_648481af8006ef9adf25d5bcb19edd76822fa568ab98c219f118660bcd5091e4 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'meta_decription' => [$this'block_meta_decription'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'layout' => [$this'block_layout'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/publications.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/publications.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""frontend/publications.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         // line 3
  57.         echo "        ";
  58.         $context["metaTitle"] = "SANRAL eSDD - Publications";
  59.         // line 4
  60.         echo "        ";
  61.         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"nulltrue);
  62.         echo "
  63.     ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 6
  70.     public function block_meta_decription($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_decription"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_decription"));
  77.         // line 7
  78.         echo "        ";
  79.         $context["metaTitle"] = "SANRAL eSDD - Publications";
  80.         // line 8
  81.         echo "        ";
  82.         $context["metaDescription"] = "Enjoy going through some of of SANRAL SMME's publications";
  83.         // line 9
  84.         echo "        <meta name=\"twitter:card\" content=\"summary\" />
  85.         <meta name=\"twitter:site\" content=\"Sanral\" />
  86.         <meta name=\"twitter:title\" content=\"";
  87.         // line 11
  88.         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"nulltrue);
  89.         echo "\" />
  90.         <meta name=\"twitter:description\" content=\"";
  91.         // line 12
  92.         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"nulltrue);
  93.         echo "\" />
  94. ";
  95.         // line 14
  96.         echo "        <meta name=\"twitter:url\" content=\"";
  97.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse14), "uri", [], "any"falsefalsefalse14), "html"nulltrue);
  98.         echo "\" />
  99. ";
  100.         // line 17
  101.         echo "        <meta name=\"og:title\" content=\"";
  102.         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"nulltrue);
  103.         echo "\" />
  104.         <meta name=\"og:description\" content=\"";
  105.         // line 18
  106.         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"nulltrue);
  107.         echo "\" />
  108.         <meta name=\"og:url\" content=\"";
  109.         // line 19
  110.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse19), "uri", [], "any"falsefalsefalse19), "html"nulltrue);
  111.         echo "\" />
  112.         <meta name=\"description\" content=\"";
  113.         // line 20
  114.         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"nulltrue);
  115.         echo "\">
  116.     ";
  117.         
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  119.         
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  121.     }
  122.     // line 22
  123.     public function block_stylesheets($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  130.         // line 23
  131.         echo "        ";
  132.         $this->displayParentBlock("stylesheets"$context$blocks);
  133.         echo "
  134.     ";
  135.         
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  137.         
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  139.     }
  140.     // line 26
  141.     public function block_layout($context, array $blocks = [])
  142.     {
  143.         $macros $this->macros;
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  148.         // line 27
  149.         echo "        <div id=\"content-wrapper\" class=\"container-fluid\">
  150.             <div class=\"row no-gutters py-4\">
  151.                 <div class=\"col-md-9 px-3\">
  152.                     <div class=\"row\">
  153.                         <div class=\"col-12 pb-3 no-gutters-sm\">
  154.                             <h1 class=\"display-4\">Publications</h1>
  155.                         </div>
  156.                         <div class=\"col-12 no-gutters-left\">
  157.                             <!-- Desktop -->
  158.                             <div class=\"table-responsive-md  d-none d-md-block\">
  159.                                 <table class=\"table table-striped\">
  160.                                     <thead class=\"rain-forest\">
  161.                                     <tr class=\"text-white text-uppercase font-weight-light\">
  162.                                         <th style=\"text-align: left;\" scope=\"col\"><strong>Publication</strong></th>
  163.                                         <th scope=\"col\"><strong>Date of Publication</strong></th>
  164.                                         <th scope=\"col\"><strong>Description of Publication</strong></th>
  165.                                         <th></th>
  166.                                     </tr>
  167.                                     </thead>
  168.                                     <tbody>
  169.                                         ";
  170.         // line 48
  171.         $context['_parent'] = $context;
  172.         $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); })()));
  173.         foreach ($context['_seq'] as $context["_key"] => $context["publication"]) {
  174.             // line 49
  175.             echo "                                            <tr>
  176.                                                 <th style=\"text-align: left;\" scope=\"row\">
  177.                                                     <strong>";
  178.             // line 51
  179.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["publication"], "title", [], "any"falsefalsefalse51), "html"nulltrue);
  180.             echo "</strong>
  181.                                                 </th>
  182.                                                 <td>
  183.                                                     ";
  184.             // line 54
  185.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["publication"], "datePublished", [], "any"falsefalsefalse54), "Y-m-d"), "html"nulltrue);
  186.             echo "
  187.                                                 </td>
  188.                                                 <td>
  189.                                                     ";
  190.             // line 58
  191.             echo twig_get_attribute($this->env$this->source$context["publication"], "description", [], "any"falsefalsefalse58);
  192.             echo "
  193.                                                 </td>
  194.                                                 <td>
  195.                                                     ";
  196.             // line 61
  197.             if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["publication"], "file", [], "any"falsefalsefalse61))) {
  198.                 // line 62
  199.                 echo "                                                        <a href=\"";
  200.                 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"falsefalsefalse62)]), "html"nulltrue);
  201.                 echo "\" class=\"fas fa-download\" style=\"font-size: 24px\"></a>
  202.                                                     ";
  203.             }
  204.             // line 64
  205.             echo "                                                </td>
  206.                                             </tr>
  207.                                         ";
  208.         }
  209.         $_parent $context['_parent'];
  210.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['publication'], $context['_parent'], $context['loop']);
  211.         $context array_intersect_key($context$_parent) + $_parent;
  212.         // line 67
  213.         echo "                                    </tbody>
  214.                                 </table>
  215.                             </div>
  216.                             <!-- Mobile -->
  217.                             <div class=\"d-block d-md-none\">
  218.                                 ";
  219.         // line 74
  220.         $context['_parent'] = $context;
  221.         $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); })()));
  222.         foreach ($context['_seq'] as $context["_key"] => $context["publication"]) {
  223.             // line 75
  224.             echo "                                    <div class=\"row rain-forest\">
  225.                                         <div class=\"col-12 font-weight-bold text-white\" style=\"padding: 15px\">
  226.                                             ";
  227.             // line 77
  228.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["publication"], "title", [], "any"falsefalsefalse77), "html"nulltrue);
  229.             echo "
  230.                                         </div>
  231.                                     </div>
  232.                                     <div class=\"row\" style=\"background-color:#f0f0f0\">
  233.                                         <div class=\"col-12\" style=\"padding: 15px\">
  234.                                             <b>Date:</b> ";
  235.             // line 82
  236.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["publication"], "datePublished", [], "any"falsefalsefalse82), "Y-m-d"), "html"nulltrue);
  237.             echo "
  238.                                         </div>
  239.                                     </div>
  240.                                     <div class=\"row\">
  241.                                         <div class=\"col-12 teaser-3-lines bl br bb\" style=\"padding: 15px; padding-bottom: 0px; margin-bottom: 15px\">
  242.                                             ";
  243.             // line 87
  244.             echo twig_get_attribute($this->env$this->source$context["publication"], "description", [], "any"falsefalsefalse87);
  245.             echo "
  246.                                         </div>
  247.                                     </div>
  248.                                     <div class=\"row\" style=\"background-color:#f0f0f0; text-align: center\">
  249.                                         <div class=\"col-12\">
  250.                                             ";
  251.             // line 92
  252.             if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["publication"], "file", [], "any"falsefalsefalse92))) {
  253.                 // line 93
  254.                 echo "                                                <a href=\"";
  255.                 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"falsefalsefalse93)]), "html"nulltrue);
  256.                 echo "\" style=\"font-size: 24px\">
  257.                                                     <i class=\"fas fa-download\"></i>
  258.                                                     &nbsp;<span style=\"font-size: 18px; line-height: 24px\">Download</span>
  259.                                                 </a>
  260.                                             ";
  261.             }
  262.             // line 98
  263.             echo "                                        </div>
  264.                                     </div>
  265.                                 ";
  266.         }
  267.         $_parent $context['_parent'];
  268.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['publication'], $context['_parent'], $context['loop']);
  269.         $context array_intersect_key($context$_parent) + $_parent;
  270.         // line 101
  271.         echo "                            </div>
  272.                         </div>
  273.                     </div>
  274.                 </div>
  275.                 <div class=\"col-md-3\" style=\"margin-top: 73px\">
  276.                     ";
  277.         // line 107
  278.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CarouselController::getCarousel", ["page" => "publications"]));
  279.         // line 112
  280.         echo "
  281.                 </div>
  282.             </div>
  283.         </div>
  284.     ";
  285.         
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  287.         
  288.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  289.     }
  290.     public function getTemplateName()
  291.     {
  292.         return "frontend/publications.html.twig";
  293.     }
  294.     public function isTraitable()
  295.     {
  296.         return false;
  297.     }
  298.     public function getDebugInfo()
  299.     {
  300.         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,);
  301.     }
  302.     public function getSourceContext()
  303.     {
  304.         return new Source("{% extends 'base.html.twig' %}
  305.     {% block title %}
  306.         {% set metaTitle = 'SANRAL eSDD - Publications' %}
  307.         {{ metaTitle }}
  308.     {% endblock %}
  309.     {% block meta_decription %}
  310.         {% set metaTitle = 'SANRAL eSDD - Publications' %}
  311.         {% set metaDescription = \"Enjoy going through some of of SANRAL SMME's publications\" %}
  312.         <meta name=\"twitter:card\" content=\"summary\" />
  313.         <meta name=\"twitter:site\" content=\"Sanral\" />
  314.         <meta name=\"twitter:title\" content=\"{{ metaTitle }}\" />
  315.         <meta name=\"twitter:description\" content=\"{{ metaDescription }}\" />
  316. {#        <meta name=\"twitter:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
  317.         <meta name=\"twitter:url\" content=\"{{ app.request.uri }}\" />
  318. {#        <meta name=\"og:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
  319.         <meta name=\"og:title\" content=\"{{ metaTitle }}\" />
  320.         <meta name=\"og:description\" content=\"{{ metaDescription }}\" />
  321.         <meta name=\"og:url\" content=\"{{ app.request.uri }}\" />
  322.         <meta name=\"description\" content=\"{{ metaDescription }}\">
  323.     {% endblock %}
  324.     {% block stylesheets %}
  325.         {{ parent() }}
  326.     {% endblock %}
  327.     {% block layout %}
  328.         <div id=\"content-wrapper\" class=\"container-fluid\">
  329.             <div class=\"row no-gutters py-4\">
  330.                 <div class=\"col-md-9 px-3\">
  331.                     <div class=\"row\">
  332.                         <div class=\"col-12 pb-3 no-gutters-sm\">
  333.                             <h1 class=\"display-4\">Publications</h1>
  334.                         </div>
  335.                         <div class=\"col-12 no-gutters-left\">
  336.                             <!-- Desktop -->
  337.                             <div class=\"table-responsive-md  d-none d-md-block\">
  338.                                 <table class=\"table table-striped\">
  339.                                     <thead class=\"rain-forest\">
  340.                                     <tr class=\"text-white text-uppercase font-weight-light\">
  341.                                         <th style=\"text-align: left;\" scope=\"col\"><strong>Publication</strong></th>
  342.                                         <th scope=\"col\"><strong>Date of Publication</strong></th>
  343.                                         <th scope=\"col\"><strong>Description of Publication</strong></th>
  344.                                         <th></th>
  345.                                     </tr>
  346.                                     </thead>
  347.                                     <tbody>
  348.                                         {% for publication in publications %}
  349.                                             <tr>
  350.                                                 <th style=\"text-align: left;\" scope=\"row\">
  351.                                                     <strong>{{ publication.title }}</strong>
  352.                                                 </th>
  353.                                                 <td>
  354.                                                     {{ publication.datePublished|date('Y-m-d') }}
  355.                                                 </td>
  356.                                                 <td>
  357.                                                     {{ publication.description|raw }}
  358.                                                 </td>
  359.                                                 <td>
  360.                                                     {% if publication.file|length %}
  361.                                                         <a href=\"{{ path('publication_download_page', {'publication_id': publication.id}) }}\" class=\"fas fa-download\" style=\"font-size: 24px\"></a>
  362.                                                     {% endif %}
  363.                                                 </td>
  364.                                             </tr>
  365.                                         {% endfor %}
  366.                                     </tbody>
  367.                                 </table>
  368.                             </div>
  369.                             <!-- Mobile -->
  370.                             <div class=\"d-block d-md-none\">
  371.                                 {% for publication in publications %}
  372.                                     <div class=\"row rain-forest\">
  373.                                         <div class=\"col-12 font-weight-bold text-white\" style=\"padding: 15px\">
  374.                                             {{ publication.title }}
  375.                                         </div>
  376.                                     </div>
  377.                                     <div class=\"row\" style=\"background-color:#f0f0f0\">
  378.                                         <div class=\"col-12\" style=\"padding: 15px\">
  379.                                             <b>Date:</b> {{ publication.datePublished|date('Y-m-d') }}
  380.                                         </div>
  381.                                     </div>
  382.                                     <div class=\"row\">
  383.                                         <div class=\"col-12 teaser-3-lines bl br bb\" style=\"padding: 15px; padding-bottom: 0px; margin-bottom: 15px\">
  384.                                             {{ publication.description|raw }}
  385.                                         </div>
  386.                                     </div>
  387.                                     <div class=\"row\" style=\"background-color:#f0f0f0; text-align: center\">
  388.                                         <div class=\"col-12\">
  389.                                             {% if publication.file|length %}
  390.                                                 <a href=\"{{ path('publication_download_page', {'publication_id': publication.id}) }}\" style=\"font-size: 24px\">
  391.                                                     <i class=\"fas fa-download\"></i>
  392.                                                     &nbsp;<span style=\"font-size: 18px; line-height: 24px\">Download</span>
  393.                                                 </a>
  394.                                             {% endif %}
  395.                                         </div>
  396.                                     </div>
  397.                                 {% endfor %}
  398.                             </div>
  399.                         </div>
  400.                     </div>
  401.                 </div>
  402.                 <div class=\"col-md-3\" style=\"margin-top: 73px\">
  403.                     {{ render(controller(
  404.                         'App\\\\Controller\\\\CarouselController::getCarousel',
  405.                         {
  406.                             'page': 'publications'
  407.                         }
  408.                     )) }}
  409.                 </div>
  410.             </div>
  411.         </div>
  412.     {% endblock %}""frontend/publications.html.twig""/var/www/html/sanralsmme/templates/frontend/publications.html.twig");
  413.     }
  414. }