var/cache/dev/twig/95/955dd83f98e26362ee9d19b65f7ae9c0.php line 60

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. /* rdresource/detail.html.twig */
  14. class __TwigTemplate_bd114c711e0cfca304e55560ab11774d 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""rdresource/detail.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""rdresource/detail.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout.html.twig""rdresource/detail.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 4
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 5
  56.         echo "\t";
  57.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [=> twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'5$this->source); })()), "title", [], "any"falsefalsetrue5)], "method"falsefalsetrue5);
  58.         // line 6
  59.         echo "\t";
  60.         $this->env->getFunction('pimcore_head_title')->getCallable()("CESSDA Resource Directory");
  61.         // line 7
  62.         echo "\t";
  63.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [=> " - "], "method"falsefalsetrue7);
  64.         // line 8
  65.         echo "\t<main class=\"pullc\">
  66. \t\t<div class=\"container-xl directory\">
  67. \t\t\t<div class=\"row\">
  68. \t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\" ";
  69.         // line 11
  70.         if ((isset($context["pillar_background"]) || array_key_exists("pillar_background"$context) ? $context["pillar_background"] : (function () { throw new RuntimeError('Variable "pillar_background" does not exist.'11$this->source); })())) {
  71.             echo " style=\"background-image: url(";
  72.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["pillar_background"]) || array_key_exists("pillar_background"$context) ? $context["pillar_background"] : (function () { throw new RuntimeError('Variable "pillar_background" does not exist.'11$this->source); })()), "thumbnail", [=> "pillar"], "method"falsefalsetrue11), 11$this->source), "html"nulltrue);
  73.             echo ")\" ";
  74.         }
  75.         echo ">
  76. \t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
  77. \t\t\t\t\t\t<h1 class=\"mb-lg-5 pt-1 pe-lg-4 mt-5 text-lg-end\">CESSDA<br>Resource<br>Directory
  78. \t\t\t\t\t\t</h1>
  79. \t\t\t\t\t</div>
  80. \t\t\t\t\t<div class=\"d-flex justify-content-end\">
  81. \t\t\t\t\t\t<ul class=\"sidenav list-unstyled justify-content-end align-self-end\">
  82. \t\t\t\t\t\t\t";
  83.         // line 19
  84.         if ((array_key_exists("qs"$context) && ((isset($context["qs"]) || array_key_exists("qs"$context) ? $context["qs"] : (function () { throw new RuntimeError('Variable "qs" does not exist.'19$this->source); })()) != ""))) {
  85.             // line 20
  86.             echo "\t\t\t\t\t\t\t\t<li>
  87. \t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?";
  88.             // line 21
  89.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["qs"]) || array_key_exists("qs"$context) ? $context["qs"] : (function () { throw new RuntimeError('Variable "qs" does not exist.'21$this->source); })()), 21$this->source), "html"nulltrue);
  90.             echo "\">Back to search results</a>
  91. \t\t\t\t\t\t\t\t</li>
  92. \t\t\t\t\t\t\t";
  93.         }
  94.         // line 24
  95.         echo "\t\t\t\t\t\t\t<li>
  96. \t\t\t\t\t\t\t\t<a href=\"/Resource-Directory\">New search</a>
  97. \t\t\t\t\t\t\t</li>
  98. \t\t\t\t\t\t</ul>
  99. \t\t\t\t\t</div>
  100. \t\t\t\t</div>
  101. \t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
  102. \t\t\t\t\t";
  103.         // line 36
  104.         if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'36$this->source); })())) {
  105.             // line 37
  106.             echo "\t\t\t\t\t\t";
  107.             $context["mainNavStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'37$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsetrue37);
  108.             // line 38
  109.             echo "\t\t\t\t\t\t";
  110.             if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'38$this->source); })()))) {
  111.                 // line 39
  112.                 echo "\t\t\t\t\t\t\t";
  113.                 $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  114.                 // line 40
  115.                 echo "\t\t\t\t\t\t";
  116.             }
  117.             // line 41
  118.             echo "
  119. \t\t\t\t\t\t";
  120.             // line 42
  121.             $context["breadbrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>             // line 43
  122. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'43$this->source); })()), "root" =>             // line 44
  123. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'44$this->source); })())]);
  124.             // line 46
  125.             echo "\t\t\t\t\t\t";
  126.             $this->extensions['App\Twig\Extension\NavigationExtension']->enrichBreadcrumbs((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'46$this->source); })()));
  127.             // line 47
  128.             echo "\t\t\t\t\t\t";
  129.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [=> null], "method"falsefalsetrue47);
  130.             // line 48
  131.             echo "
  132. \t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
  133. \t\t\t\t\t\t\t<a href=\"/\">Home</a>
  134. \t\t\t\t\t\t\t/
  135. \t\t\t\t\t\t\t<a href=\"/Tools\">Tools</a>
  136. \t\t\t\t\t\t\t/
  137. \t\t\t\t\t\t\t<a href=\"/Resource-Directory\">CESSDA Resource Directory</a>
  138. \t\t\t\t\t\t\t/ 
  139. \t\t\t\t\t\t\tResource ID: crdr-";
  140.             // line 56
  141.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'56$this->source); })()), "id", [], "any"falsefalsetrue56), 56$this->source), "html"nulltrue);
  142.             echo "
  143. \t\t\t\t\t\t</div>
  144. \t\t\t\t\t";
  145.         }
  146.         // line 60
  147.         echo "
  148. \t\t\t\t\t<div id=\"main-content\" class=\"main-content resource-detail rd\">
  149. \t\t\t\t\t\t<div class=\"col-12 my-3\">
  150. \t\t\t\t\t\t\t<h1>";
  151.         // line 64
  152.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'64$this->source); })()), "title", [], "any"falsefalsetrue64), 64$this->source), "html"nulltrue);
  153.         echo "</h1>
  154. \t\t\t\t\t\t</div>
  155. \t\t\t\t\t\t<div class=\"row gx-3\">
  156. \t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  157. \t\t\t\t\t\t\t\t<div class=\"rd-card\">
  158. \t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  159. \t\t\t\t\t\t\t\t\t\tBase data
  160. \t\t\t\t\t\t\t\t\t</div>
  161. \t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  162. \t\t\t\t\t\t\t\t\t\tCESSDA ID
  163. \t\t\t\t\t\t\t\t\t</div>
  164. \t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  165. \t\t\t\t\t\t\t\t\t\tcrdr-";
  166.         // line 82
  167.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'82$this->source); })()), "id", [], "any"falsefalsetrue82), 82$this->source), "html"nulltrue);
  168.         echo "
  169. \t\t\t\t\t\t\t\t\t</div>
  170. \t\t\t\t\t\t\t\t\t";
  171.         // line 86
  172.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'86$this->source); })()), "publish_date", [], "any"falsefalsetrue86)) {
  173.             // line 87
  174.             echo "
  175. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  176. \t\t\t\t\t\t\t\t\t\t\tDate of publication
  177. \t\t\t\t\t\t\t\t\t\t</div>
  178. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  179. \t\t\t\t\t\t\t\t\t\t\t";
  180.             // line 92
  181.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'92$this->source); })()), "year_only", [], "any"falsefalsetrue92)) {
  182.                 // line 93
  183.                 echo "
  184. \t\t\t\t\t\t\t\t\t\t\t\t";
  185.                 // line 94
  186.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'94$this->source); })()), "publish_date", [], "any"falsefalsetrue94), 94$this->source), "Y"), "html"nulltrue);
  187.                 echo "
  188. \t\t\t\t\t\t\t\t\t\t\t";
  189.             } else {
  190.                 // line 97
  191.                 echo "
  192. \t\t\t\t\t\t\t\t\t\t\t\t";
  193.                 // line 98
  194.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'98$this->source); })()), "publish_date", [], "any"falsefalsetrue98), 98$this->source), "Y-m-d"), "html"nulltrue);
  195.                 echo "
  196. \t\t\t\t\t\t\t\t\t\t\t";
  197.             }
  198.             // line 100
  199.             echo "\t\t\t\t\t\t\t\t\t\t</div>
  200. \t\t\t\t\t\t\t\t\t";
  201.         }
  202.         // line 103
  203.         echo "
  204. \t\t\t\t\t\t\t\t\t";
  205.         // line 104
  206.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'104$this->source); })()), "registered_date", [], "any"falsefalsetrue104)) {
  207.             // line 105
  208.             echo "
  209. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  210. \t\t\t\t\t\t\t\t\t\t\tDate added
  211. \t\t\t\t\t\t\t\t\t\t</div>
  212. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  213. \t\t\t\t\t\t\t\t\t\t\t";
  214.             // line 111
  215.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'111$this->source); })()), "registered_date", [], "any"falsefalsetrue111), 111$this->source), "Y-m-d"), "html"nulltrue);
  216.             echo "
  217. \t\t\t\t\t\t\t\t\t\t</div>
  218. \t\t\t\t\t\t\t\t\t";
  219.         }
  220.         // line 116
  221.         echo "
  222. \t\t\t\t\t\t\t\t\t";
  223.         // line 118
  224.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'118$this->source); })()), "modificationDate", [], "any"falsefalsetrue118)) {
  225.             // line 119
  226.             echo "
  227. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  228. \t\t\t\t\t\t\t\t\t\t\tLast modified
  229. \t\t\t\t\t\t\t\t\t\t</div>
  230. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  231. \t\t\t\t\t\t\t\t\t\t\t";
  232.             // line 125
  233.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'125$this->source); })()), "modificationDate", [], "any"falsefalsetrue125), 125$this->source), "Y-m-d"), "html"nulltrue);
  234.             echo "
  235. \t\t\t\t\t\t\t\t\t\t</div>
  236. \t\t\t\t\t\t\t\t\t";
  237.         }
  238.         // line 130
  239.         echo "
  240. \t\t\t\t\t\t\t\t\t";
  241.         // line 131
  242.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'131$this->source); })()), "resource_type", [], "any"falsefalsetrue131)) {
  243.             // line 132
  244.             echo "
  245. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  246. \t\t\t\t\t\t\t\t\t\t\tResource type
  247. \t\t\t\t\t\t\t\t\t\t</div>
  248. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  249. \t\t\t\t\t\t\t\t\t\t\t";
  250.             // line 139
  251.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'139$this->source); })()), "resource_type", [], "any"falsefalsetrue139), 139$this->source), "html"nulltrue);
  252.             echo "
  253. \t\t\t\t\t\t\t\t\t\t</div>
  254. \t\t\t\t\t\t\t\t\t";
  255.         }
  256.         // line 145
  257.         echo "
  258. \t\t\t\t\t\t\t\t</div>
  259. \t\t\t\t\t\t\t</div>
  260. \t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  261. \t\t\t\t\t\t\t\t<div class=\"rd-card links\">
  262. \t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  263. \t\t\t\t\t\t\t\t\t\tLinks
  264. \t\t\t\t\t\t\t\t\t</div>
  265. \t\t\t\t\t\t\t\t\t";
  266.         // line 157
  267.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'157$this->source); })()), "contact_email", [], "any"falsefalsetrue157)) {
  268.             // line 158
  269.             echo "\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  270. \t\t\t\t\t\t\t\t\t\t\tContact email
  271. \t\t\t\t\t\t\t\t\t\t</div>
  272. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  273. \t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:";
  274.             // line 162
  275.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'162$this->source); })()), "contact_email", [], "any"falsefalsetrue162), 162$this->source), "html"nulltrue);
  276.             echo "\">";
  277.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'162$this->source); })()), "contact_email", [], "any"falsefalsetrue162), 162$this->source), "html"nulltrue);
  278.             echo "</a>
  279. \t\t\t\t\t\t\t\t\t\t</div>
  280. \t\t\t\t\t\t\t\t\t";
  281.         }
  282.         // line 167
  283.         echo "
  284. \t\t\t\t\t\t\t\t\t";
  285.         // line 168
  286.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'168$this->source); })()), "doi", [], "any"falsefalsetrue168)) {
  287.             // line 169
  288.             echo "\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  289. \t\t\t\t\t\t\t\t\t\t\t<abbr title=\"Digital Object identifier\">DOI</abbr>
  290. \t\t\t\t\t\t\t\t\t\t</div>
  291. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  292. \t\t\t\t\t\t\t\t\t\t\t<a href=\"https://doi.org/";
  293.             // line 173
  294.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'173$this->source); })()), "doi", [], "any"falsefalsetrue173), 173$this->source), "html"nulltrue);
  295.             echo "\" target=\"_blank\">";
  296.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'173$this->source); })()), "doi", [], "any"falsefalsetrue173), 173$this->source), "html"nulltrue);
  297.             echo "</a>
  298. \t\t\t\t\t\t\t\t\t\t</div>
  299. \t\t\t\t\t\t\t\t\t";
  300.         }
  301.         // line 176
  302.         echo "
  303. \t\t\t\t\t\t\t\t\t";
  304.         // line 177
  305.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'177$this->source); })()), "landing_url", [], "any"falsefalsetrue177)) {
  306.             // line 178
  307.             echo "
  308. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  309. \t\t\t\t\t\t\t\t\t\t\tInformation page
  310. \t\t\t\t\t\t\t\t\t\t</div>
  311. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  312. \t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  313.             // line 185
  314.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'185$this->source); })()), "landing_url", [], "any"falsefalsetrue185), 185$this->source), "html"nulltrue);
  315.             echo "\" target=\"_blank\">Visit</a>
  316. \t\t\t\t\t\t\t\t\t\t</div>
  317. \t\t\t\t\t\t\t\t\t";
  318.         }
  319.         // line 191
  320.         echo "
  321. \t\t\t\t\t\t\t\t\t";
  322.         // line 192
  323.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'192$this->source); })()), "direct_url", [], "any"falsefalsetrue192)) {
  324.             // line 193
  325.             echo "
  326. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  327. \t\t\t\t\t\t\t\t\t\t\tDirect URL
  328. \t\t\t\t\t\t\t\t\t\t</div>
  329. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  330. \t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  331.             // line 200
  332.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'200$this->source); })()), "direct_url", [], "any"falsefalsetrue200), 200$this->source), "html"nulltrue);
  333.             echo "\" target=\"_blank\">View/download</a>
  334. \t\t\t\t\t\t\t\t\t\t</div>
  335. \t\t\t\t\t\t\t\t\t";
  336.         }
  337.         // line 206
  338.         echo "
  339. \t\t\t\t\t\t\t\t</div>
  340. \t\t\t\t\t\t\t</div>
  341. \t\t\t\t\t\t</div>
  342. \t\t\t\t\t\t<div class=\"row\">
  343. \t\t\t\t\t\t\t<div class=\"col-12\">
  344. \t\t\t\t\t\t\t\t";
  345.         // line 213
  346.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'213$this->source); })()), "description", [], "any"falsefalsetrue213)) {
  347.             // line 214
  348.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  349. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  350. \t\t\t\t\t\t\t\t\t\t\tDescription
  351. \t\t\t\t\t\t\t\t\t\t</div>
  352. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  353. \t\t\t\t\t\t\t\t\t\t\t";
  354.             // line 219
  355.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'219$this->source); })()), "description", [], "any"falsefalsetrue219), 219$this->source), "html"nulltrue);
  356.             echo "
  357. \t\t\t\t\t\t\t\t\t\t</div>
  358. \t\t\t\t\t\t\t\t\t</div>
  359. \t\t\t\t\t\t\t\t";
  360.         }
  361.         // line 224
  362.         echo "
  363. \t\t\t\t\t\t\t\t";
  364.         // line 226
  365.         if ((isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'226$this->source); })())) {
  366.             // line 227
  367.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  368. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  369. \t\t\t\t\t\t\t\t\t\t\tKeyword tags
  370. \t\t\t\t\t\t\t\t\t\t</div>
  371. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  372. \t\t\t\t\t\t\t\t\t\t\t";
  373.             // line 232
  374.             $context['_parent'] = $context;
  375.             $context['_seq'] = twig_ensure_traversable((isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'232$this->source); })()));
  376.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  377.                 // line 233
  378.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"badge rounded-pill bg-blue-050 text-dark\">
  379. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?rtag=";
  380.                 // line 234
  381.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tag"], "id", [], "any"falsefalsetrue234), 234$this->source), "html"nulltrue);
  382.                 echo "\">";
  383.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tag"], "name", [], "any"falsefalsetrue234), 234$this->source), "html"nulltrue);
  384.                 echo "</a>
  385. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  386. \t\t\t\t\t\t\t\t\t\t\t";
  387.             }
  388.             $_parent $context['_parent'];
  389.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  390.             $context array_intersect_key($context$_parent) + $_parent;
  391.             // line 238
  392.             echo "\t\t\t\t\t\t\t\t\t\t</div>
  393. \t\t\t\t\t\t\t\t\t</div>
  394. \t\t\t\t\t\t\t\t";
  395.         }
  396.         // line 242
  397.         echo "
  398. \t\t\t\t\t\t\t\t";
  399.         // line 244
  400.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'244$this->source); })()), "author", [], "any"falsefalsetrue244)) {
  401.             // line 245
  402.             echo "
  403. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  404. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  405. \t\t\t\t\t\t\t\t\t\t\tAuthor(s)
  406. \t\t\t\t\t\t\t\t\t\t</div>
  407. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  408. \t\t\t\t\t\t\t\t\t\t\t";
  409.             // line 251
  410.             echo twig_escape_filter($this->envtwig_join_filter(twig_split_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'251$this->source); })()), "author", [], "any"falsefalsetrue251), 251$this->source), ";"), " / "), "html"nulltrue);
  411.             echo "
  412. \t\t\t\t\t\t\t\t\t\t</div>
  413. \t\t\t\t\t\t\t\t\t</div>
  414. \t\t\t\t\t\t\t\t";
  415.         }
  416.         // line 258
  417.         echo "
  418. \t\t\t\t\t\t\t\t";
  419.         // line 260
  420.         if ((twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'260$this->source); })()), "contributors", [], "any"falsefalsetrue260) || twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'260$this->source); })()), "other_contributors", [], "any"falsefalsetrue260))) {
  421.             // line 261
  422.             echo "
  423. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  424. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  425. \t\t\t\t\t\t\t\t\t\t\tContributors
  426. \t\t\t\t\t\t\t\t\t\t</div>
  427. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  428. \t\t\t\t\t\t\t\t\t\t\t";
  429.             // line 269
  430.             $context['_parent'] = $context;
  431.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'269$this->source); })()), "contributors", [], "any"falsefalsetrue269));
  432.             foreach ($context['_seq'] as $context["_key"] => $context["contributor"]) {
  433.                 // line 270
  434.                 echo "
  435. \t\t\t\t\t\t\t\t\t\t\t\t";
  436.                 // line 271
  437.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["contributorOptions"]) || array_key_exists("contributorOptions"$context) ? $context["contributorOptions"] : (function () { throw new RuntimeError('Variable "contributorOptions" does not exist.'271$this->source); })()), $context["contributor"], [], "array"falsefalsetrue271), 271$this->source), "html"nulltrue);
  438.                 echo "<br>
  439. \t\t\t\t\t\t\t\t\t\t\t";
  440.             }
  441.             $_parent $context['_parent'];
  442.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['contributor'], $context['_parent'], $context['loop']);
  443.             $context array_intersect_key($context$_parent) + $_parent;
  444.             // line 273
  445.             echo "
  446. \t\t\t\t\t\t\t\t\t\t\t";
  447.             // line 274
  448.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'274$this->source); })()), "other_contributors", [], "any"falsefalsetrue274)) {
  449.                 // line 275
  450.                 echo "
  451. \t\t\t\t\t\t\t\t\t\t\t\t";
  452.                 // line 277
  453.                 echo "\t\t\t\t\t\t\t\t\t\t\t\tOther
  454. \t\t\t\t\t\t\t\t\t\t\t";
  455.             }
  456.             // line 281
  457.             echo "
  458. \t\t\t\t\t\t\t\t\t\t</div>
  459. \t\t\t\t\t\t\t\t\t</div>
  460. \t\t\t\t\t\t\t\t";
  461.         }
  462.         // line 287
  463.         echo "
  464. \t\t\t\t\t\t\t\t";
  465.         // line 288
  466.         if ((twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'288$this->source); })()), "project", [], "any"falsefalsetrue288) || twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'288$this->source); })()), "other_project", [], "any"falsefalsetrue288))) {
  467.             // line 289
  468.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  469. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  470. \t\t\t\t\t\t\t\t\t\t\tProject(s)
  471. \t\t\t\t\t\t\t\t\t\t</div>
  472. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  473. \t\t\t\t\t\t\t\t\t\t\t";
  474.             // line 294
  475.             $context['_parent'] = $context;
  476.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'294$this->source); })()), "project", [], "any"falsefalsetrue294));
  477.             foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
  478.                 // line 295
  479.                 echo "
  480. \t\t\t\t\t\t\t\t\t\t\t\t";
  481.                 // line 296
  482.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["project"], 296$this->source), "html"nulltrue);
  483.                 echo "<br>
  484. \t\t\t\t\t\t\t\t\t\t\t";
  485.             }
  486.             $_parent $context['_parent'];
  487.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
  488.             $context array_intersect_key($context$_parent) + $_parent;
  489.             // line 300
  490.             echo "
  491. \t\t\t\t\t\t\t\t\t\t\t";
  492.             // line 301
  493.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'301$this->source); })()), "other_project", [], "any"falsefalsetrue301)) {
  494.                 // line 302
  495.                 echo "
  496. \t\t\t\t\t\t\t\t\t\t\t\t";
  497.                 // line 304
  498.                 echo twig_join_filter(twig_split_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'304$this->source); })()), "other_project", [], "any"falsefalsetrue304), 304$this->source), ";"), "<br>");
  499.                 echo "
  500. \t\t\t\t\t\t\t\t\t\t\t";
  501.             }
  502.             // line 307
  503.             echo "
  504. \t\t\t\t\t\t\t\t\t\t</div>
  505. \t\t\t\t\t\t\t\t\t</div>
  506. \t\t\t\t\t\t\t\t";
  507.         }
  508.         // line 313
  509.         echo "
  510. \t\t\t\t\t\t\t\t";
  511.         // line 315
  512.         if ((twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'315$this->source); })()), "user_institutions", [], "any"falsefalsetrue315) || twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'315$this->source); })()), "other_user_institutions", [], "any"falsefalsetrue315))) {
  513.             // line 316
  514.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  515. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  516. \t\t\t\t\t\t\t\t\t\t\tUsers
  517. \t\t\t\t\t\t\t\t\t\t</div>
  518. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  519. \t\t\t\t\t\t\t\t\t\t\t";
  520.             // line 322
  521.             $context['_parent'] = $context;
  522.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'322$this->source); })()), "user_institutions", [], "any"falsefalsetrue322));
  523.             foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
  524.                 // line 323
  525.                 echo "
  526. \t\t\t\t\t\t\t\t\t\t\t\t";
  527.                 // line 324
  528.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["contributorOptions"]) || array_key_exists("contributorOptions"$context) ? $context["contributorOptions"] : (function () { throw new RuntimeError('Variable "contributorOptions" does not exist.'324$this->source); })()), $context["user"], [], "array"falsefalsetrue324), 324$this->source), "html"nulltrue);
  529.                 echo "<br>
  530. \t\t\t\t\t\t\t\t\t\t\t";
  531.             }
  532.             $_parent $context['_parent'];
  533.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
  534.             $context array_intersect_key($context$_parent) + $_parent;
  535.             // line 326
  536.             echo "
  537. \t\t\t\t\t\t\t\t\t\t\t";
  538.             // line 327
  539.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'327$this->source); })()), "other_user_institutions", [], "any"falsefalsetrue327)) {
  540.                 // line 328
  541.                 echo "
  542. \t\t\t\t\t\t\t\t\t\t\t\t";
  543.                 // line 330
  544.                 echo "\t\t\t\t\t\t\t\t\t\t\t\tOther
  545. \t\t\t\t\t\t\t\t\t\t\t";
  546.             }
  547.             // line 334
  548.             echo "
  549. \t\t\t\t\t\t\t\t\t\t</div>
  550. \t\t\t\t\t\t\t\t\t</div>
  551. \t\t\t\t\t\t\t\t";
  552.         }
  553.         // line 339
  554.         echo "
  555. \t\t\t\t\t\t\t\t";
  556.         // line 341
  557.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'341$this->source); })()), "resource_usage", [], "any"falsefalsetrue341)) {
  558.             // line 342
  559.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  560. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  561. \t\t\t\t\t\t\t\t\t\t\tUsage notes
  562. \t\t\t\t\t\t\t\t\t\t</div>
  563. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  564. \t\t\t\t\t\t\t\t\t\t\t";
  565.             // line 349
  566.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'349$this->source); })()), "resource_usage", [], "any"falsefalsetrue349), 349$this->source), "html"nulltrue);
  567.             echo "
  568. \t\t\t\t\t\t\t\t\t\t</div>
  569. \t\t\t\t\t\t\t\t\t</div>
  570. \t\t\t\t\t\t\t\t";
  571.         }
  572.         // line 357
  573.         echo "
  574. \t\t\t\t\t\t\t\t";
  575.         // line 358
  576.         if (((twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'358$this->source); })()), "user_docs_link", [], "any"falsefalsetrue358) || twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'358$this->source); })()), "tech_docs_link", [], "any"falsefalsetrue358)) || twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'358$this->source); })()), "source_code_link", [], "any"falsefalsetrue358))) {
  577.             // line 359
  578.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  579. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  580. \t\t\t\t\t\t\t\t\t\t\tDocumentation
  581. \t\t\t\t\t\t\t\t\t\t</div>
  582. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  583. \t\t\t\t\t\t\t\t\t\t\t";
  584.             // line 364
  585.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'364$this->source); })()), "user_docs_link", [], "any"falsefalsetrue364)) {
  586.                 // line 365
  587.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  588.                 if (twig_in_filter("http"twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'365$this->source); })()), "user_docs_link", [], "any"falsefalsetrue365))) {
  589.                     // line 366
  590.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  591.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'366$this->source); })()), "user_docs_link", [], "any"falsefalsetrue366), 366$this->source), "html"nulltrue);
  592.                     echo "\">User documentation</a><br>
  593. \t\t\t\t\t\t\t\t\t\t\t\t";
  594.                 } else {
  595.                     // line 369
  596.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  597.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'369$this->source); })()), "user_docs_link", [], "any"falsefalsetrue369), 369$this->source), "html"nulltrue);
  598.                     echo "
  599. \t\t\t\t\t\t\t\t\t\t\t\t";
  600.                 }
  601.                 // line 371
  602.                 echo "
  603. \t\t\t\t\t\t\t\t\t\t\t";
  604.             }
  605.             // line 373
  606.             echo "
  607. \t\t\t\t\t\t\t\t\t\t\t";
  608.             // line 374
  609.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'374$this->source); })()), "tech_docs_link", [], "any"falsefalsetrue374)) {
  610.                 // line 375
  611.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  612.                 if (twig_in_filter("http"twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'375$this->source); })()), "tech_docs_link", [], "any"falsefalsetrue375))) {
  613.                     // line 376
  614.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  615.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'376$this->source); })()), "tech_docs_link", [], "any"falsefalsetrue376), 376$this->source), "html"nulltrue);
  616.                     echo "\">Technical documentation</a><br>
  617. \t\t\t\t\t\t\t\t\t\t\t\t";
  618.                 } else {
  619.                     // line 379
  620.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  621.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'379$this->source); })()), "tech_docs_link", [], "any"falsefalsetrue379), 379$this->source), "html"nulltrue);
  622.                     echo "
  623. \t\t\t\t\t\t\t\t\t\t\t\t";
  624.                 }
  625.                 // line 381
  626.                 echo "
  627. \t\t\t\t\t\t\t\t\t\t\t";
  628.             }
  629.             // line 383
  630.             echo "\t\t\t\t\t\t\t\t\t\t\t";
  631.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'383$this->source); })()), "source_code_link", [], "any"falsefalsetrue383)) {
  632.                 // line 384
  633.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  634.                 if (twig_in_filter("http"twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'384$this->source); })()), "source_code_link", [], "any"falsefalsetrue384))) {
  635.                     // line 385
  636.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  637.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'385$this->source); })()), "source_code_link", [], "any"falsefalsetrue385), 385$this->source), "html"nulltrue);
  638.                     echo "\">Source code</a><br>
  639. \t\t\t\t\t\t\t\t\t\t\t\t";
  640.                 } else {
  641.                     // line 388
  642.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  643.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'388$this->source); })()), "source_code_link", [], "any"falsefalsetrue388), 388$this->source), "html"nulltrue);
  644.                     echo "
  645. \t\t\t\t\t\t\t\t\t\t\t\t";
  646.                 }
  647.                 // line 390
  648.                 echo "
  649. \t\t\t\t\t\t\t\t\t\t\t";
  650.             }
  651.             // line 392
  652.             echo "
  653. \t\t\t\t\t\t\t\t\t\t</div>
  654. \t\t\t\t\t\t\t\t\t</div>
  655. \t\t\t\t\t\t\t\t";
  656.         }
  657.         // line 398
  658.         echo "
  659. \t\t\t\t\t\t\t\t";
  660.         // line 399
  661.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'399$this->source); })()), "interoperability", [], "any"falsefalsetrue399)) {
  662.             // line 400
  663.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  664. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  665. \t\t\t\t\t\t\t\t\t\t\tPlatform and interoperability
  666. \t\t\t\t\t\t\t\t\t\t</div>
  667. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  668. \t\t\t\t\t\t\t\t\t\t\t";
  669.             // line 405
  670.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'405$this->source); })()), "interoperability", [], "any"falsefalsetrue405), 405$this->source), "html"nulltrue);
  671.             echo "
  672. \t\t\t\t\t\t\t\t\t\t</div>
  673. \t\t\t\t\t\t\t\t\t</div>
  674. \t\t\t\t\t\t\t\t";
  675.         }
  676.         // line 410
  677.         echo "
  678. \t\t\t\t\t\t\t\t";
  679.         // line 411
  680.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'411$this->source); })()), "standards", [], "any"falsefalsetrue411)) {
  681.             // line 412
  682.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  683. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  684. \t\t\t\t\t\t\t\t\t\t\tStandards compliance
  685. \t\t\t\t\t\t\t\t\t\t</div>
  686. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  687. \t\t\t\t\t\t\t\t\t\t\t";
  688.             // line 417
  689.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'417$this->source); })()), "standards", [], "any"falsefalsetrue417), 417$this->source), "html"nulltrue);
  690.             echo "
  691. \t\t\t\t\t\t\t\t\t\t</div>
  692. \t\t\t\t\t\t\t\t\t</div>
  693. \t\t\t\t\t\t\t\t";
  694.         }
  695.         // line 422
  696.         echo "
  697. \t\t\t\t\t\t\t\t";
  698.         // line 423
  699.         if ((twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'423$this->source); })()), "licence", [], "any"falsefalsetrue423) || twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'423$this->source); })()), "licence_url", [], "any"falsefalsetrue423))) {
  700.             // line 424
  701.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  702. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  703. \t\t\t\t\t\t\t\t\t\t\tLicence / usage rights
  704. \t\t\t\t\t\t\t\t\t\t</div>
  705. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  706. \t\t\t\t\t\t\t\t\t\t\t";
  707.             // line 430
  708.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'430$this->source); })()), "licence", [], "any"falsefalsetrue430)) {
  709.                 // line 431
  710.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  711.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'431$this->source); })()), "licence", [], "any"falsefalsetrue431), 431$this->source), "html"nulltrue);
  712.                 echo "<br>
  713. \t\t\t\t\t\t\t\t\t\t\t";
  714.             }
  715.             // line 433
  716.             echo "\t\t\t\t\t\t\t\t\t\t\t";
  717.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'433$this->source); })()), "licence_url", [], "any"falsefalsetrue433)) {
  718.                 // line 434
  719.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  720.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'434$this->source); })()), "licence_url", [], "any"falsefalsetrue434), 434$this->source), "html"nulltrue);
  721.                 echo "\" target=\"_blank\">Licence information</a>
  722. \t\t\t\t\t\t\t\t\t\t\t";
  723.             }
  724.             // line 436
  725.             echo "
  726. \t\t\t\t\t\t\t\t\t\t</div>
  727. \t\t\t\t\t\t\t\t\t</div>
  728. \t\t\t\t\t\t\t\t";
  729.         }
  730.         // line 442
  731.         echo "
  732. \t\t\t\t\t\t\t\t";
  733.         // line 444
  734.         if ((twig_get_attribute($this->env$this->source, ($context["rdresource"] ?? null), "availability", [], "any"truetruetrue444) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'444$this->source); })()), "availability", [], "any"falsefalsetrue444)))) {
  735.             // line 445
  736.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  737. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  738. \t\t\t\t\t\t\t\t\t\t\tAvailable to other institutions
  739. \t\t\t\t\t\t\t\t\t\t</div>
  740. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  741. \t\t\t\t\t\t\t\t\t\t\t";
  742.             // line 450
  743.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'450$this->source); })()), "availability", [], "any"falsefalsetrue450)) {
  744.                 // line 451
  745.                 echo "\t\t\t\t\t\t\t\t\t\t\t\tYes
  746. \t\t\t\t\t\t\t\t\t\t\t";
  747.             } else {
  748.                 // line 453
  749.                 echo "\t\t\t\t\t\t\t\t\t\t\t\tNo
  750. \t\t\t\t\t\t\t\t\t\t\t";
  751.             }
  752.             // line 455
  753.             echo "\t\t\t\t\t\t\t\t\t\t</div>
  754. \t\t\t\t\t\t\t\t\t</div>
  755. \t\t\t\t\t\t\t\t";
  756.         }
  757.         // line 459
  758.         echo "
  759. \t\t\t\t\t\t\t\t";
  760.         // line 461
  761.         if ((twig_get_attribute($this->env$this->source, ($context["rdresource"] ?? null), "access_cost", [], "any"truetruetrue461) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'461$this->source); })()), "access_cost", [], "any"falsefalsetrue461)))) {
  762.             // line 462
  763.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  764. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  765. \t\t\t\t\t\t\t\t\t\t\tAccess cost
  766. \t\t\t\t\t\t\t\t\t\t</div>
  767. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  768. \t\t\t\t\t\t\t\t\t\t\t";
  769.             // line 467
  770.             if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'467$this->source); })()), "access_cost", [], "any"falsefalsetrue467)) {
  771.                 // line 468
  772.                 echo "\t\t\t\t\t\t\t\t\t\t\t\tYes
  773. \t\t\t\t\t\t\t\t\t\t\t";
  774.             } else {
  775.                 // line 470
  776.                 echo "\t\t\t\t\t\t\t\t\t\t\t\tNo
  777. \t\t\t\t\t\t\t\t\t\t\t";
  778.             }
  779.             // line 472
  780.             echo "\t\t\t\t\t\t\t\t\t\t</div>
  781. \t\t\t\t\t\t\t\t\t</div>
  782. \t\t\t\t\t\t\t\t";
  783.         }
  784.         // line 476
  785.         echo "
  786. \t\t\t\t\t\t\t\t";
  787.         // line 477
  788.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'477$this->source); })()), "funder", [], "any"falsefalsetrue477)) {
  789.             // line 478
  790.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  791. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  792. \t\t\t\t\t\t\t\t\t\t\tFunder
  793. \t\t\t\t\t\t\t\t\t\t</div>
  794. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  795. \t\t\t\t\t\t\t\t\t\t\t";
  796.             // line 483
  797.             echo twig_escape_filter($this->envtwig_join_filter(twig_split_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'483$this->source); })()), "funder", [], "any"falsefalsetrue483), 483$this->source), ";"), " / "), "html"nulltrue);
  798.             echo "
  799. \t\t\t\t\t\t\t\t\t\t</div>
  800. \t\t\t\t\t\t\t\t\t</div>
  801. \t\t\t\t\t\t\t\t";
  802.         }
  803.         // line 488
  804.         echo "
  805. \t\t\t\t\t\t\t\t";
  806.         // line 490
  807.         if (twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'490$this->source); })()), "comment", [], "any"falsefalsetrue490)) {
  808.             // line 491
  809.             echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  810. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  811. \t\t\t\t\t\t\t\t\t\t\tAdditional information
  812. \t\t\t\t\t\t\t\t\t\t</div>
  813. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  814. \t\t\t\t\t\t\t\t\t\t\t";
  815.             // line 496
  816.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'496$this->source); })()), "comment", [], "any"falsefalsetrue496), 496$this->source), "html"nulltrue);
  817.             echo "
  818. \t\t\t\t\t\t\t\t\t\t</div>
  819. \t\t\t\t\t\t\t\t\t</div>
  820. \t\t\t\t\t\t\t\t";
  821.         }
  822.         // line 501
  823.         echo "
  824. \t\t\t\t\t\t\t</div>
  825. \t\t\t\t\t\t</div>
  826. \t\t\t\t\t\t<!--<span class=\"updated\">Updated
  827. \t\t\t\t\t\t\t\t\t\t\t\t";
  828.         // line 506
  829.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["rdresource"]) || array_key_exists("rdresource"$context) ? $context["rdresource"] : (function () { throw new RuntimeError('Variable "rdresource" does not exist.'506$this->source); })()), "modificationDate", [], "any"falsefalsetrue506), 506$this->source), "Y-m-d"), "html"nulltrue);
  830.         echo "</span>-->
  831. \t\t\t\t\t</div>
  832. \t\t\t\t</div>
  833. \t\t\t</div>
  834. \t\t</div>
  835. \t</main>
  836. ";
  837.         
  838.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  839.         
  840.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  841.     }
  842.     public function getTemplateName()
  843.     {
  844.         return "rdresource/detail.html.twig";
  845.     }
  846.     public function isTraitable()
  847.     {
  848.         return false;
  849.     }
  850.     public function getDebugInfo()
  851.     {
  852.         return array (  941 => 506,  934 => 501,  926 => 496,  919 => 491,  917 => 490,  913 => 488,  905 => 483,  898 => 478,  896 => 477,  893 => 476,  887 => 472,  883 => 470,  879 => 468,  877 => 467,  870 => 462,  868 => 461,  864 => 459,  858 => 455,  854 => 453,  850 => 451,  848 => 450,  841 => 445,  839 => 444,  835 => 442,  827 => 436,  821 => 434,  818 => 433,  812 => 431,  810 => 430,  802 => 424,  800 => 423,  797 => 422,  789 => 417,  782 => 412,  780 => 411,  777 => 410,  769 => 405,  762 => 400,  760 => 399,  757 => 398,  749 => 392,  745 => 390,  739 => 388,  732 => 385,  729 => 384,  726 => 383,  722 => 381,  716 => 379,  709 => 376,  706 => 375,  704 => 374,  701 => 373,  697 => 371,  691 => 369,  684 => 366,  681 => 365,  679 => 364,  672 => 359,  670 => 358,  667 => 357,  656 => 349,  647 => 342,  645 => 341,  641 => 339,  634 => 334,  628 => 330,  625 => 328,  623 => 327,  620 => 326,  612 => 324,  609 => 323,  605 => 322,  597 => 316,  595 => 315,  591 => 313,  583 => 307,  577 => 304,  573 => 302,  571 => 301,  568 => 300,  558 => 296,  555 => 295,  551 => 294,  544 => 289,  542 => 288,  539 => 287,  531 => 281,  525 => 277,  522 => 275,  520 => 274,  517 => 273,  509 => 271,  506 => 270,  502 => 269,  492 => 261,  490 => 260,  486 => 258,  476 => 251,  468 => 245,  466 => 244,  462 => 242,  456 => 238,  444 => 234,  441 => 233,  437 => 232,  430 => 227,  428 => 226,  424 => 224,  416 => 219,  409 => 214,  407 => 213,  398 => 206,  389 => 200,  380 => 193,  378 => 192,  375 => 191,  366 => 185,  357 => 178,  355 => 177,  352 => 176,  344 => 173,  338 => 169,  336 => 168,  333 => 167,  323 => 162,  317 => 158,  315 => 157,  301 => 145,  292 => 139,  283 => 132,  281 => 131,  278 => 130,  270 => 125,  262 => 119,  260 => 118,  256 => 116,  248 => 111,  240 => 105,  238 => 104,  235 => 103,  230 => 100,  225 => 98,  222 => 97,  216 => 94,  213 => 93,  211 => 92,  204 => 87,  202 => 86,  195 => 82,  174 => 64,  168 => 60,  161 => 56,  151 => 48,  148 => 47,  145 => 46,  143 => 44,  142 => 43,  141 => 42,  138 => 41,  135 => 40,  132 => 39,  129 => 38,  126 => 37,  124 => 36,  110 => 24,  104 => 21,  101 => 20,  99 => 19,  84 => 11,  79 => 8,  76 => 7,  73 => 6,  70 => 5,  60 => 4,  37 => 1,);
  853.     }
  854.     public function getSourceContext()
  855.     {
  856.         return new Source("{% extends 'layouts/layout.html.twig' %}
  857. {% block content %}
  858. \t{% do pimcore_head_title().set(rdresource.title) %}
  859. \t{% do pimcore_head_title('CESSDA Resource Directory') %}
  860. \t{% do pimcore_head_title().setSeparator(' - ') %}
  861. \t<main class=\"pullc\">
  862. \t\t<div class=\"container-xl directory\">
  863. \t\t\t<div class=\"row\">
  864. \t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\" {% if pillar_background %} style=\"background-image: url({{ pillar_background.thumbnail('pillar') }})\" {% endif %}>
  865. \t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
  866. \t\t\t\t\t\t<h1 class=\"mb-lg-5 pt-1 pe-lg-4 mt-5 text-lg-end\">CESSDA<br>Resource<br>Directory
  867. \t\t\t\t\t\t</h1>
  868. \t\t\t\t\t</div>
  869. \t\t\t\t\t<div class=\"d-flex justify-content-end\">
  870. \t\t\t\t\t\t<ul class=\"sidenav list-unstyled justify-content-end align-self-end\">
  871. \t\t\t\t\t\t\t{% if qs is defined and qs != \"\" %}
  872. \t\t\t\t\t\t\t\t<li>
  873. \t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?{{ qs }}\">Back to search results</a>
  874. \t\t\t\t\t\t\t\t</li>
  875. \t\t\t\t\t\t\t{% endif %}
  876. \t\t\t\t\t\t\t<li>
  877. \t\t\t\t\t\t\t\t<a href=\"/Resource-Directory\">New search</a>
  878. \t\t\t\t\t\t\t</li>
  879. \t\t\t\t\t\t</ul>
  880. \t\t\t\t\t</div>
  881. \t\t\t\t</div>
  882. \t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
  883. \t\t\t\t\t{% if showBreadcrumbs %}
  884. \t\t\t\t\t\t{% set mainNavStartNode = document.getProperty('navigation_root') %}
  885. \t\t\t\t\t\t{% if mainNavStartNode is empty %}
  886. \t\t\t\t\t\t\t{% set mainNavStartNode = pimcore_document(1) %}
  887. \t\t\t\t\t\t{% endif %}
  888. \t\t\t\t\t\t{% set breadbrumbs = pimcore_build_nav({
  889.                                     active: document,
  890.                                     root: mainNavStartNode
  891.                                 }) %}
  892. \t\t\t\t\t\t{% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
  893. \t\t\t\t\t\t{% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  894. \t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
  895. \t\t\t\t\t\t\t<a href=\"/\">Home</a>
  896. \t\t\t\t\t\t\t/
  897. \t\t\t\t\t\t\t<a href=\"/Tools\">Tools</a>
  898. \t\t\t\t\t\t\t/
  899. \t\t\t\t\t\t\t<a href=\"/Resource-Directory\">CESSDA Resource Directory</a>
  900. \t\t\t\t\t\t\t/ 
  901. \t\t\t\t\t\t\tResource ID: crdr-{{ rdresource.id }}
  902. \t\t\t\t\t\t</div>
  903. \t\t\t\t\t{% endif %}
  904. \t\t\t\t\t<div id=\"main-content\" class=\"main-content resource-detail rd\">
  905. \t\t\t\t\t\t<div class=\"col-12 my-3\">
  906. \t\t\t\t\t\t\t<h1>{{ rdresource.title }}</h1>
  907. \t\t\t\t\t\t</div>
  908. \t\t\t\t\t\t<div class=\"row gx-3\">
  909. \t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  910. \t\t\t\t\t\t\t\t<div class=\"rd-card\">
  911. \t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  912. \t\t\t\t\t\t\t\t\t\tBase data
  913. \t\t\t\t\t\t\t\t\t</div>
  914. \t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  915. \t\t\t\t\t\t\t\t\t\tCESSDA ID
  916. \t\t\t\t\t\t\t\t\t</div>
  917. \t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  918. \t\t\t\t\t\t\t\t\t\tcrdr-{{ rdresource.id }}
  919. \t\t\t\t\t\t\t\t\t</div>
  920. \t\t\t\t\t\t\t\t\t{% if rdresource.publish_date %}
  921. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  922. \t\t\t\t\t\t\t\t\t\t\tDate of publication
  923. \t\t\t\t\t\t\t\t\t\t</div>
  924. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  925. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.year_only %}
  926. \t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.publish_date | date('Y') }}
  927. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  928. \t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.publish_date | date('Y-m-d') }}
  929. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  930. \t\t\t\t\t\t\t\t\t\t</div>
  931. \t\t\t\t\t\t\t\t\t{% endif %}
  932. \t\t\t\t\t\t\t\t\t{% if rdresource.registered_date %}
  933. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  934. \t\t\t\t\t\t\t\t\t\t\tDate added
  935. \t\t\t\t\t\t\t\t\t\t</div>
  936. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  937. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.registered_date | date('Y-m-d') }}
  938. \t\t\t\t\t\t\t\t\t\t</div>
  939. \t\t\t\t\t\t\t\t\t{% endif %}
  940. \t\t\t\t\t\t\t\t\t{% if rdresource.modificationDate %}
  941. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  942. \t\t\t\t\t\t\t\t\t\t\tLast modified
  943. \t\t\t\t\t\t\t\t\t\t</div>
  944. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  945. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.modificationDate | date('Y-m-d')}}
  946. \t\t\t\t\t\t\t\t\t\t</div>
  947. \t\t\t\t\t\t\t\t\t{% endif %}
  948. \t\t\t\t\t\t\t\t\t{% if rdresource.resource_type %}
  949. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  950. \t\t\t\t\t\t\t\t\t\t\tResource type
  951. \t\t\t\t\t\t\t\t\t\t</div>
  952. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  953. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.resource_type }}
  954. \t\t\t\t\t\t\t\t\t\t</div>
  955. \t\t\t\t\t\t\t\t\t{% endif %}
  956. \t\t\t\t\t\t\t\t</div>
  957. \t\t\t\t\t\t\t</div>
  958. \t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  959. \t\t\t\t\t\t\t\t<div class=\"rd-card links\">
  960. \t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  961. \t\t\t\t\t\t\t\t\t\tLinks
  962. \t\t\t\t\t\t\t\t\t</div>
  963. \t\t\t\t\t\t\t\t\t{% if rdresource.contact_email %}
  964. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  965. \t\t\t\t\t\t\t\t\t\t\tContact email
  966. \t\t\t\t\t\t\t\t\t\t</div>
  967. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  968. \t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:{{ rdresource.contact_email }}\">{{ rdresource.contact_email }}</a>
  969. \t\t\t\t\t\t\t\t\t\t</div>
  970. \t\t\t\t\t\t\t\t\t{% endif %}
  971. \t\t\t\t\t\t\t\t\t{% if rdresource.doi %}
  972. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  973. \t\t\t\t\t\t\t\t\t\t\t<abbr title=\"Digital Object identifier\">DOI</abbr>
  974. \t\t\t\t\t\t\t\t\t\t</div>
  975. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  976. \t\t\t\t\t\t\t\t\t\t\t<a href=\"https://doi.org/{{ rdresource.doi }}\" target=\"_blank\">{{ rdresource.doi }}</a>
  977. \t\t\t\t\t\t\t\t\t\t</div>
  978. \t\t\t\t\t\t\t\t\t{% endif %}
  979. \t\t\t\t\t\t\t\t\t{% if rdresource.landing_url %}
  980. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  981. \t\t\t\t\t\t\t\t\t\t\tInformation page
  982. \t\t\t\t\t\t\t\t\t\t</div>
  983. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  984. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.landing_url }}\" target=\"_blank\">Visit</a>
  985. \t\t\t\t\t\t\t\t\t\t</div>
  986. \t\t\t\t\t\t\t\t\t{% endif %}
  987. \t\t\t\t\t\t\t\t\t{% if rdresource.direct_url %}
  988. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
  989. \t\t\t\t\t\t\t\t\t\t\tDirect URL
  990. \t\t\t\t\t\t\t\t\t\t</div>
  991. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
  992. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.direct_url }}\" target=\"_blank\">View/download</a>
  993. \t\t\t\t\t\t\t\t\t\t</div>
  994. \t\t\t\t\t\t\t\t\t{% endif %}
  995. \t\t\t\t\t\t\t\t</div>
  996. \t\t\t\t\t\t\t</div>
  997. \t\t\t\t\t\t</div>
  998. \t\t\t\t\t\t<div class=\"row\">
  999. \t\t\t\t\t\t\t<div class=\"col-12\">
  1000. \t\t\t\t\t\t\t\t{% if rdresource.description %}
  1001. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1002. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1003. \t\t\t\t\t\t\t\t\t\t\tDescription
  1004. \t\t\t\t\t\t\t\t\t\t</div>
  1005. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1006. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.description }}
  1007. \t\t\t\t\t\t\t\t\t\t</div>
  1008. \t\t\t\t\t\t\t\t\t</div>
  1009. \t\t\t\t\t\t\t\t{% endif %}
  1010. \t\t\t\t\t\t\t\t{% if tags %}
  1011. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1012. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1013. \t\t\t\t\t\t\t\t\t\t\tKeyword tags
  1014. \t\t\t\t\t\t\t\t\t\t</div>
  1015. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1016. \t\t\t\t\t\t\t\t\t\t\t{% for tag in tags %}
  1017. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"badge rounded-pill bg-blue-050 text-dark\">
  1018. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?rtag={{ tag.id }}\">{{ tag.name }}</a>
  1019. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  1020. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1021. \t\t\t\t\t\t\t\t\t\t</div>
  1022. \t\t\t\t\t\t\t\t\t</div>
  1023. \t\t\t\t\t\t\t\t{% endif %}
  1024. \t\t\t\t\t\t\t\t{% if rdresource.author %}
  1025. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1026. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1027. \t\t\t\t\t\t\t\t\t\t\tAuthor(s)
  1028. \t\t\t\t\t\t\t\t\t\t</div>
  1029. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1030. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.author|split(';')|join(' / ') }}
  1031. \t\t\t\t\t\t\t\t\t\t</div>
  1032. \t\t\t\t\t\t\t\t\t</div>
  1033. \t\t\t\t\t\t\t\t{% endif %}
  1034. \t\t\t\t\t\t\t\t{% if rdresource.contributors or rdresource.other_contributors %}
  1035. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1036. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1037. \t\t\t\t\t\t\t\t\t\t\tContributors
  1038. \t\t\t\t\t\t\t\t\t\t</div>
  1039. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1040. \t\t\t\t\t\t\t\t\t\t\t{% for contributor in rdresource.contributors %}
  1041. \t\t\t\t\t\t\t\t\t\t\t\t{{ contributorOptions[contributor] }}<br>
  1042. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1043. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.other_contributors  %}
  1044. \t\t\t\t\t\t\t\t\t\t\t\t{# rdresource.other_contributors|split(';')|join('<br>')|raw }#}
  1045. \t\t\t\t\t\t\t\t\t\t\t\tOther
  1046. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1047. \t\t\t\t\t\t\t\t\t\t</div>
  1048. \t\t\t\t\t\t\t\t\t</div>
  1049. \t\t\t\t\t\t\t\t{% endif %}
  1050. \t\t\t\t\t\t\t\t{% if rdresource.project or rdresource.other_project %}
  1051. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1052. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1053. \t\t\t\t\t\t\t\t\t\t\tProject(s)
  1054. \t\t\t\t\t\t\t\t\t\t</div>
  1055. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1056. \t\t\t\t\t\t\t\t\t\t\t{% for project in rdresource.project %}
  1057. \t\t\t\t\t\t\t\t\t\t\t\t{{ project }}<br>
  1058. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1059. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.other_project  %}
  1060. \t\t\t\t\t\t\t\t\t\t\t\t{{  rdresource.other_project|split(';')|join('<br>')|raw }}
  1061. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1062. \t\t\t\t\t\t\t\t\t\t</div>
  1063. \t\t\t\t\t\t\t\t\t</div>
  1064. \t\t\t\t\t\t\t\t{% endif %}
  1065. \t\t\t\t\t\t\t\t{% if rdresource.user_institutions or rdresource.other_user_institutions %}
  1066. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1067. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1068. \t\t\t\t\t\t\t\t\t\t\tUsers
  1069. \t\t\t\t\t\t\t\t\t\t</div>
  1070. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1071. \t\t\t\t\t\t\t\t\t\t\t{% for user in rdresource.user_institutions %}
  1072. \t\t\t\t\t\t\t\t\t\t\t\t{{ contributorOptions[user] }}<br>
  1073. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1074. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.other_user_institutions  %}
  1075. \t\t\t\t\t\t\t\t\t\t\t\t{# rdresource.other_user_institutions|split(';')|join('<br>')|raw #}
  1076. \t\t\t\t\t\t\t\t\t\t\t\tOther
  1077. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1078. \t\t\t\t\t\t\t\t\t\t</div>
  1079. \t\t\t\t\t\t\t\t\t</div>
  1080. \t\t\t\t\t\t\t\t{% endif %}
  1081. \t\t\t\t\t\t\t\t{% if rdresource.resource_usage %}
  1082. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1083. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1084. \t\t\t\t\t\t\t\t\t\t\tUsage notes
  1085. \t\t\t\t\t\t\t\t\t\t</div>
  1086. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1087. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.resource_usage}}
  1088. \t\t\t\t\t\t\t\t\t\t</div>
  1089. \t\t\t\t\t\t\t\t\t</div>
  1090. \t\t\t\t\t\t\t\t{% endif %}
  1091. \t\t\t\t\t\t\t\t{% if rdresource.user_docs_link or rdresource.tech_docs_link or rdresource.source_code_link %}
  1092. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1093. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1094. \t\t\t\t\t\t\t\t\t\t\tDocumentation
  1095. \t\t\t\t\t\t\t\t\t\t</div>
  1096. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1097. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.user_docs_link %}
  1098. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'http' in rdresource.user_docs_link %}
  1099. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.user_docs_link }}\">User documentation</a><br>
  1100. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1101. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.user_docs_link }}
  1102. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1103. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1104. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.tech_docs_link %}
  1105. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'http' in rdresource.tech_docs_link %}
  1106. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.tech_docs_link }}\">Technical documentation</a><br>
  1107. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1108. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.tech_docs_link }}
  1109. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1110. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1111. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.source_code_link %}
  1112. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'http' in rdresource.source_code_link %}
  1113. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.source_code_link }}\">Source code</a><br>
  1114. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1115. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.source_code_link }}
  1116. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1117. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1118. \t\t\t\t\t\t\t\t\t\t</div>
  1119. \t\t\t\t\t\t\t\t\t</div>
  1120. \t\t\t\t\t\t\t\t{% endif %}
  1121. \t\t\t\t\t\t\t\t{% if rdresource.interoperability %}
  1122. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1123. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1124. \t\t\t\t\t\t\t\t\t\t\tPlatform and interoperability
  1125. \t\t\t\t\t\t\t\t\t\t</div>
  1126. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1127. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.interoperability }}
  1128. \t\t\t\t\t\t\t\t\t\t</div>
  1129. \t\t\t\t\t\t\t\t\t</div>
  1130. \t\t\t\t\t\t\t\t{% endif %}
  1131. \t\t\t\t\t\t\t\t{% if rdresource.standards %}
  1132. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1133. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1134. \t\t\t\t\t\t\t\t\t\t\tStandards compliance
  1135. \t\t\t\t\t\t\t\t\t\t</div>
  1136. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1137. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.standards }}
  1138. \t\t\t\t\t\t\t\t\t\t</div>
  1139. \t\t\t\t\t\t\t\t\t</div>
  1140. \t\t\t\t\t\t\t\t{% endif %}
  1141. \t\t\t\t\t\t\t\t{% if rdresource.licence or rdresource.licence_url %}
  1142. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1143. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1144. \t\t\t\t\t\t\t\t\t\t\tLicence / usage rights
  1145. \t\t\t\t\t\t\t\t\t\t</div>
  1146. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1147. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.licence %}
  1148. \t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.licence }}<br>
  1149. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1150. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.licence_url %}
  1151. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.licence_url }}\" target=\"_blank\">Licence information</a>
  1152. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1153. \t\t\t\t\t\t\t\t\t\t</div>
  1154. \t\t\t\t\t\t\t\t\t</div>
  1155. \t\t\t\t\t\t\t\t{% endif %}
  1156. \t\t\t\t\t\t\t\t{% if rdresource.availability is defined and rdresource.availability is not empty %}
  1157. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1158. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1159. \t\t\t\t\t\t\t\t\t\t\tAvailable to other institutions
  1160. \t\t\t\t\t\t\t\t\t\t</div>
  1161. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1162. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.availability  %}
  1163. \t\t\t\t\t\t\t\t\t\t\t\tYes
  1164. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  1165. \t\t\t\t\t\t\t\t\t\t\t\tNo
  1166. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1167. \t\t\t\t\t\t\t\t\t\t</div>
  1168. \t\t\t\t\t\t\t\t\t</div>
  1169. \t\t\t\t\t\t\t\t{% endif %}
  1170. \t\t\t\t\t\t\t\t{% if rdresource.access_cost is defined and rdresource.access_cost is not empty %}
  1171. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1172. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1173. \t\t\t\t\t\t\t\t\t\t\tAccess cost
  1174. \t\t\t\t\t\t\t\t\t\t</div>
  1175. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1176. \t\t\t\t\t\t\t\t\t\t\t{% if rdresource.access_cost  %}
  1177. \t\t\t\t\t\t\t\t\t\t\t\tYes
  1178. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  1179. \t\t\t\t\t\t\t\t\t\t\t\tNo
  1180. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1181. \t\t\t\t\t\t\t\t\t\t</div>
  1182. \t\t\t\t\t\t\t\t\t</div>
  1183. \t\t\t\t\t\t\t\t{% endif %}
  1184. \t\t\t\t\t\t\t\t{% if rdresource.funder %}
  1185. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1186. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1187. \t\t\t\t\t\t\t\t\t\t\tFunder
  1188. \t\t\t\t\t\t\t\t\t\t</div>
  1189. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1190. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.funder|split(';')|join(' / ') }}
  1191. \t\t\t\t\t\t\t\t\t\t</div>
  1192. \t\t\t\t\t\t\t\t\t</div>
  1193. \t\t\t\t\t\t\t\t{% endif %}
  1194. \t\t\t\t\t\t\t\t{% if rdresource.comment %}
  1195. \t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
  1196. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
  1197. \t\t\t\t\t\t\t\t\t\t\tAdditional information
  1198. \t\t\t\t\t\t\t\t\t\t</div>
  1199. \t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
  1200. \t\t\t\t\t\t\t\t\t\t\t{{ rdresource.comment }}
  1201. \t\t\t\t\t\t\t\t\t\t</div>
  1202. \t\t\t\t\t\t\t\t\t</div>
  1203. \t\t\t\t\t\t\t\t{% endif %}
  1204. \t\t\t\t\t\t\t</div>
  1205. \t\t\t\t\t\t</div>
  1206. \t\t\t\t\t\t<!--<span class=\"updated\">Updated
  1207. \t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.modificationDate | date('Y-m-d')}}</span>-->
  1208. \t\t\t\t\t</div>
  1209. \t\t\t\t</div>
  1210. \t\t\t</div>
  1211. \t\t</div>
  1212. \t</main>
  1213. {% endblock %}
  1214. ""rdresource/detail.html.twig""/sites/pimcore/cessda-dev/templates/rdresource/detail.html.twig");
  1215.     }
  1216.     
  1217.     public function checkSecurity()
  1218.     {
  1219.         static $tags = array("do" => 5"if" => 11"set" => 37"for" => 232);
  1220.         static $filters = array("escape" => 11"date" => 94"join" => 251"split" => 251"raw" => 304);
  1221.         static $functions = array("pimcore_head_title" => 5"pimcore_document" => 39"pimcore_build_nav" => 42"app_navigation_enrich_breadcrumbs" => 46"pimcore_nav_renderer" => 47);
  1222.         try {
  1223.             $this->sandbox->checkSecurity(
  1224.                 ['do''if''set''for'],
  1225.                 ['escape''date''join''split''raw'],
  1226.                 ['pimcore_head_title''pimcore_document''pimcore_build_nav''app_navigation_enrich_breadcrumbs''pimcore_nav_renderer']
  1227.             );
  1228.         } catch (SecurityError $e) {
  1229.             $e->setSourceContext($this->source);
  1230.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1231.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1232.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1233.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1234.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1235.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1236.             }
  1237.             throw $e;
  1238.         }
  1239.     }
  1240. }