<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* rdresource/detail.html.twig */
class __TwigTemplate_bd114c711e0cfca304e55560ab11774d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "rdresource/detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "rdresource/detail.html.twig"));
$this->parent = $this->loadTemplate("layouts/layout.html.twig", "rdresource/detail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 5
echo "\t";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [0 => 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", false, false, true, 5)], "method", false, false, true, 5);
// line 6
echo "\t";
$this->env->getFunction('pimcore_head_title')->getCallable()("CESSDA Resource Directory");
// line 7
echo "\t";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [0 => " - "], "method", false, false, true, 7);
// line 8
echo "\t<main class=\"pullc\">
\t\t<div class=\"container-xl directory\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\" ";
// line 11
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); })())) {
echo " style=\"background-image: url(";
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", [0 => "pillar"], "method", false, false, true, 11), 11, $this->source), "html", null, true);
echo ")\" ";
}
echo ">
\t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
\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
\t\t\t\t\t\t</h1>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"d-flex justify-content-end\">
\t\t\t\t\t\t<ul class=\"sidenav list-unstyled justify-content-end align-self-end\">
\t\t\t\t\t\t\t";
// line 19
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); })()) != ""))) {
// line 20
echo "\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?";
// line 21
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", null, true);
echo "\">Back to search results</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 24
echo "\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory\">New search</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
\t\t\t\t\t";
// line 36
if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs", $context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.', 36, $this->source); })())) {
// line 37
echo "\t\t\t\t\t\t";
$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", [0 => "navigation_root"], "method", false, false, true, 37);
// line 38
echo "\t\t\t\t\t\t";
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); })()))) {
// line 39
echo "\t\t\t\t\t\t\t";
$context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
// line 40
echo "\t\t\t\t\t\t";
}
// line 41
echo "
\t\t\t\t\t\t";
// line 42
$context["breadbrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => // line 43
(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
(isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 44, $this->source); })())]);
// line 46
echo "\t\t\t\t\t\t";
$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); })()));
// line 47
echo "\t\t\t\t\t\t";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [0 => null], "method", false, false, true, 47);
// line 48
echo "
\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
\t\t\t\t\t\t\t<a href=\"/\">Home</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t<a href=\"/Tools\">Tools</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t<a href=\"/Resource-Directory\">CESSDA Resource Directory</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\tResource ID: crdr-";
// line 56
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", false, false, true, 56), 56, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 60
echo "
\t\t\t\t\t<div id=\"main-content\" class=\"main-content resource-detail rd\">
\t\t\t\t\t\t<div class=\"col-12 my-3\">
\t\t\t\t\t\t\t<h1>";
// line 64
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", false, false, true, 64), 64, $this->source), "html", null, true);
echo "</h1>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"row gx-3\">
\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\tBase data
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\tCESSDA ID
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\tcrdr-";
// line 82
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", false, false, true, 82), 82, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 86
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", false, false, true, 86)) {
// line 87
echo "
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tDate of publication
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 92
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", false, false, true, 92)) {
// line 93
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 94
echo twig_escape_filter($this->env, twig_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", false, false, true, 94), 94, $this->source), "Y"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 97
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 98
echo twig_escape_filter($this->env, twig_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", false, false, true, 98), 98, $this->source), "Y-m-d"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 100
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 103
echo "
\t\t\t\t\t\t\t\t\t";
// line 104
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", false, false, true, 104)) {
// line 105
echo "
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tDate added
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 111
echo twig_escape_filter($this->env, twig_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", false, false, true, 111), 111, $this->source), "Y-m-d"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 116
echo "
\t\t\t\t\t\t\t\t\t";
// line 118
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", false, false, true, 118)) {
// line 119
echo "
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tLast modified
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 125
echo twig_escape_filter($this->env, twig_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", false, false, true, 125), 125, $this->source), "Y-m-d"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 130
echo "
\t\t\t\t\t\t\t\t\t";
// line 131
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", false, false, true, 131)) {
// line 132
echo "
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tResource type
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 139
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", false, false, true, 139), 139, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 145
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
\t\t\t\t\t\t\t\t<div class=\"rd-card links\">
\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\tLinks
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 157
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", false, false, true, 157)) {
// line 158
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tContact email
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:";
// line 162
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", false, false, true, 162), 162, $this->source), "html", null, true);
echo "\">";
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", false, false, true, 162), 162, $this->source), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 167
echo "
\t\t\t\t\t\t\t\t\t";
// line 168
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", false, false, true, 168)) {
// line 169
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\t<abbr title=\"Digital Object identifier\">DOI</abbr>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"https://doi.org/";
// line 173
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", false, false, true, 173), 173, $this->source), "html", null, true);
echo "\" target=\"_blank\">";
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", false, false, true, 173), 173, $this->source), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 176
echo "
\t\t\t\t\t\t\t\t\t";
// line 177
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", false, false, true, 177)) {
// line 178
echo "
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tInformation page
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 185
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", false, false, true, 185), 185, $this->source), "html", null, true);
echo "\" target=\"_blank\">Visit</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 191
echo "
\t\t\t\t\t\t\t\t\t";
// line 192
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", false, false, true, 192)) {
// line 193
echo "
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tDirect URL
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 200
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", false, false, true, 200), 200, $this->source), "html", null, true);
echo "\" target=\"_blank\">View/download</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 206
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t";
// line 213
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", false, false, true, 213)) {
// line 214
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tDescription
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 219
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", false, false, true, 219), 219, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 224
echo "
\t\t\t\t\t\t\t\t";
// line 226
if ((isset($context["tags"]) || array_key_exists("tags", $context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.', 226, $this->source); })())) {
// line 227
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tKeyword tags
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 232
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
// line 233
echo "\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"badge rounded-pill bg-blue-050 text-dark\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?rtag=";
// line 234
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["tag"], "id", [], "any", false, false, true, 234), 234, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, true, 234), 234, $this->source), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 238
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 242
echo "
\t\t\t\t\t\t\t\t";
// line 244
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", false, false, true, 244)) {
// line 245
echo "
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAuthor(s)
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 251
echo twig_escape_filter($this->env, 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.', 251, $this->source); })()), "author", [], "any", false, false, true, 251), 251, $this->source), ";"), " / "), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 258
echo "
\t\t\t\t\t\t\t\t";
// line 260
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", false, false, true, 260) || 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", false, false, true, 260))) {
// line 261
echo "
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tContributors
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 269
$context['_parent'] = $context;
$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", false, false, true, 269));
foreach ($context['_seq'] as $context["_key"] => $context["contributor"]) {
// line 270
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 271
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", false, false, true, 271), 271, $this->source), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['contributor'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 273
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 274
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", false, false, true, 274)) {
// line 275
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 277
echo "\t\t\t\t\t\t\t\t\t\t\t\tOther
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 281
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 287
echo "
\t\t\t\t\t\t\t\t";
// line 288
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", false, false, true, 288) || 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", false, false, true, 288))) {
// line 289
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tProject(s)
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 294
$context['_parent'] = $context;
$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", false, false, true, 294));
foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
// line 295
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 296
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["project"], 296, $this->source), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 300
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 301
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", false, false, true, 301)) {
// line 302
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 304
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", false, false, true, 304), 304, $this->source), ";"), "<br>");
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 307
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 313
echo "
\t\t\t\t\t\t\t\t";
// line 315
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", false, false, true, 315) || 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", false, false, true, 315))) {
// line 316
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tUsers
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 322
$context['_parent'] = $context;
$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", false, false, true, 322));
foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
// line 323
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 324
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", false, false, true, 324), 324, $this->source), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 326
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 327
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", false, false, true, 327)) {
// line 328
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 330
echo "\t\t\t\t\t\t\t\t\t\t\t\tOther
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 334
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 339
echo "
\t\t\t\t\t\t\t\t";
// line 341
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", false, false, true, 341)) {
// line 342
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tUsage notes
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 349
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", false, false, true, 349), 349, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 357
echo "
\t\t\t\t\t\t\t\t";
// line 358
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", false, false, true, 358) || 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", false, false, true, 358)) || 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", false, false, true, 358))) {
// line 359
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tDocumentation
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 364
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", false, false, true, 364)) {
// line 365
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 365))) {
// line 366
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
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", false, false, true, 366), 366, $this->source), "html", null, true);
echo "\">User documentation</a><br>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 369
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 369), 369, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 371
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 373
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 374
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", false, false, true, 374)) {
// line 375
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 375))) {
// line 376
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
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", false, false, true, 376), 376, $this->source), "html", null, true);
echo "\">Technical documentation</a><br>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 379
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 379), 379, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 381
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 383
echo "\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 383)) {
// line 384
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 384))) {
// line 385
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
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", false, false, true, 385), 385, $this->source), "html", null, true);
echo "\">Source code</a><br>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 388
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 388), 388, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 390
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 392
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 398
echo "
\t\t\t\t\t\t\t\t";
// line 399
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", false, false, true, 399)) {
// line 400
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tPlatform and interoperability
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 405
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", false, false, true, 405), 405, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 410
echo "
\t\t\t\t\t\t\t\t";
// line 411
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", false, false, true, 411)) {
// line 412
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tStandards compliance
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 417
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", false, false, true, 417), 417, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 422
echo "
\t\t\t\t\t\t\t\t";
// line 423
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", false, false, true, 423) || 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", false, false, true, 423))) {
// line 424
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tLicence / usage rights
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 430
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", false, false, true, 430)) {
// line 431
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 431), 431, $this->source), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 433
echo "\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, true, 433)) {
// line 434
echo "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
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", false, false, true, 434), 434, $this->source), "html", null, true);
echo "\" target=\"_blank\">Licence information</a>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 436
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 442
echo "
\t\t\t\t\t\t\t\t";
// line 444
if ((twig_get_attribute($this->env, $this->source, ($context["rdresource"] ?? null), "availability", [], "any", true, true, true, 444) && !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", false, false, true, 444)))) {
// line 445
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAvailable to other institutions
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 450
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", false, false, true, 450)) {
// line 451
echo "\t\t\t\t\t\t\t\t\t\t\t\tYes
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 453
echo "\t\t\t\t\t\t\t\t\t\t\t\tNo
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 455
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 459
echo "
\t\t\t\t\t\t\t\t";
// line 461
if ((twig_get_attribute($this->env, $this->source, ($context["rdresource"] ?? null), "access_cost", [], "any", true, true, true, 461) && !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", false, false, true, 461)))) {
// line 462
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAccess cost
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 467
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", false, false, true, 467)) {
// line 468
echo "\t\t\t\t\t\t\t\t\t\t\t\tYes
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 470
echo "\t\t\t\t\t\t\t\t\t\t\t\tNo
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 472
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 476
echo "
\t\t\t\t\t\t\t\t";
// line 477
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", false, false, true, 477)) {
// line 478
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tFunder
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 483
echo twig_escape_filter($this->env, 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.', 483, $this->source); })()), "funder", [], "any", false, false, true, 483), 483, $this->source), ";"), " / "), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 488
echo "
\t\t\t\t\t\t\t\t";
// line 490
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", false, false, true, 490)) {
// line 491
echo "\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAdditional information
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 496
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", false, false, true, 496), 496, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 501
echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--<span class=\"updated\">Updated
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 506
echo twig_escape_filter($this->env, twig_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", false, false, true, 506), 506, $this->source), "Y-m-d"), "html", null, true);
echo "</span>-->
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "rdresource/detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/layout.html.twig' %}
{% block content %}
\t{% do pimcore_head_title().set(rdresource.title) %}
\t{% do pimcore_head_title('CESSDA Resource Directory') %}
\t{% do pimcore_head_title().setSeparator(' - ') %}
\t<main class=\"pullc\">
\t\t<div class=\"container-xl directory\">
\t\t\t<div class=\"row\">
\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 %}>
\t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
\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
\t\t\t\t\t\t</h1>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"d-flex justify-content-end\">
\t\t\t\t\t\t<ul class=\"sidenav list-unstyled justify-content-end align-self-end\">
\t\t\t\t\t\t\t{% if qs is defined and qs != \"\" %}
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?{{ qs }}\">Back to search results</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory\">New search</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
\t\t\t\t\t{% if showBreadcrumbs %}
\t\t\t\t\t\t{% set mainNavStartNode = document.getProperty('navigation_root') %}
\t\t\t\t\t\t{% if mainNavStartNode is empty %}
\t\t\t\t\t\t\t{% set mainNavStartNode = pimcore_document(1) %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set breadbrumbs = pimcore_build_nav({
active: document,
root: mainNavStartNode
}) %}
\t\t\t\t\t\t{% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
\t\t\t\t\t\t{% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
\t\t\t\t\t\t\t<a href=\"/\">Home</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t<a href=\"/Tools\">Tools</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t<a href=\"/Resource-Directory\">CESSDA Resource Directory</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\tResource ID: crdr-{{ rdresource.id }}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div id=\"main-content\" class=\"main-content resource-detail rd\">
\t\t\t\t\t\t<div class=\"col-12 my-3\">
\t\t\t\t\t\t\t<h1>{{ rdresource.title }}</h1>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"row gx-3\">
\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\tBase data
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\tCESSDA ID
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\tcrdr-{{ rdresource.id }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% if rdresource.publish_date %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tDate of publication
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.year_only %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.publish_date | date('Y') }}
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.publish_date | date('Y-m-d') }}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if rdresource.registered_date %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tDate added
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.registered_date | date('Y-m-d') }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if rdresource.modificationDate %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tLast modified
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.modificationDate | date('Y-m-d')}}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if rdresource.resource_type %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tResource type
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.resource_type }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
\t\t\t\t\t\t\t\t<div class=\"rd-card links\">
\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\tLinks
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% if rdresource.contact_email %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tContact email
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:{{ rdresource.contact_email }}\">{{ rdresource.contact_email }}</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if rdresource.doi %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\t<abbr title=\"Digital Object identifier\">DOI</abbr>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"https://doi.org/{{ rdresource.doi }}\" target=\"_blank\">{{ rdresource.doi }}</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if rdresource.landing_url %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tInformation page
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.landing_url }}\" target=\"_blank\">Visit</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if rdresource.direct_url %}
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col-header\">
\t\t\t\t\t\t\t\t\t\t\tDirect URL
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-col\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.direct_url }}\" target=\"_blank\">View/download</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t{% if rdresource.description %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tDescription
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.description }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if tags %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tKeyword tags
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% for tag in tags %}
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"badge rounded-pill bg-blue-050 text-dark\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/Resource-Directory?rtag={{ tag.id }}\">{{ tag.name }}</a>
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.author %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAuthor(s)
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.author|split(';')|join(' / ') }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.contributors or rdresource.other_contributors %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tContributors
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% for contributor in rdresource.contributors %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ contributorOptions[contributor] }}<br>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.other_contributors %}
\t\t\t\t\t\t\t\t\t\t\t\t{# rdresource.other_contributors|split(';')|join('<br>')|raw }#}
\t\t\t\t\t\t\t\t\t\t\t\tOther
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.project or rdresource.other_project %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tProject(s)
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% for project in rdresource.project %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ project }}<br>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.other_project %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.other_project|split(';')|join('<br>')|raw }}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.user_institutions or rdresource.other_user_institutions %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tUsers
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% for user in rdresource.user_institutions %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ contributorOptions[user] }}<br>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.other_user_institutions %}
\t\t\t\t\t\t\t\t\t\t\t\t{# rdresource.other_user_institutions|split(';')|join('<br>')|raw #}
\t\t\t\t\t\t\t\t\t\t\t\tOther
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.resource_usage %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tUsage notes
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.resource_usage}}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.user_docs_link or rdresource.tech_docs_link or rdresource.source_code_link %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tDocumentation
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.user_docs_link %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if 'http' in rdresource.user_docs_link %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.user_docs_link }}\">User documentation</a><br>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.user_docs_link }}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.tech_docs_link %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if 'http' in rdresource.tech_docs_link %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.tech_docs_link }}\">Technical documentation</a><br>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.tech_docs_link }}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.source_code_link %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if 'http' in rdresource.source_code_link %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.source_code_link }}\">Source code</a><br>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.source_code_link }}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.interoperability %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tPlatform and interoperability
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.interoperability }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.standards %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tStandards compliance
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.standards }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.licence or rdresource.licence_url %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tLicence / usage rights
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.licence %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.licence }}<br>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.licence_url %}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ rdresource.licence_url }}\" target=\"_blank\">Licence information</a>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.availability is defined and rdresource.availability is not empty %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAvailable to other institutions
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.availability %}
\t\t\t\t\t\t\t\t\t\t\t\tYes
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\tNo
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.access_cost is defined and rdresource.access_cost is not empty %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAccess cost
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{% if rdresource.access_cost %}
\t\t\t\t\t\t\t\t\t\t\t\tYes
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\tNo
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.funder %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tFunder
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.funder|split(';')|join(' / ') }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if rdresource.comment %}
\t\t\t\t\t\t\t\t\t<div class=\"rd-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-card-header\">
\t\t\t\t\t\t\t\t\t\t\tAdditional information
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"rd-body\">
\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.comment }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--<span class=\"updated\">Updated
\t\t\t\t\t\t\t\t\t\t\t\t{{ rdresource.modificationDate | date('Y-m-d')}}</span>-->
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</main>
{% endblock %}
", "rdresource/detail.html.twig", "/sites/pimcore/cessda-dev/templates/rdresource/detail.html.twig");
}
public function checkSecurity()
{
static $tags = array("do" => 5, "if" => 11, "set" => 37, "for" => 232);
static $filters = array("escape" => 11, "date" => 94, "join" => 251, "split" => 251, "raw" => 304);
static $functions = array("pimcore_head_title" => 5, "pimcore_document" => 39, "pimcore_build_nav" => 42, "app_navigation_enrich_breadcrumbs" => 46, "pimcore_nav_renderer" => 47);
try {
$this->sandbox->checkSecurity(
['do', 'if', 'set', 'for'],
['escape', 'date', 'join', 'split', 'raw'],
['pimcore_head_title', 'pimcore_document', 'pimcore_build_nav', 'app_navigation_enrich_breadcrumbs', 'pimcore_nav_renderer']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}