<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* frontend/dataset/detail.html.twig */
class __TwigTemplate_ce55ad4921aca3cde499e23b104635645076a6f0a4b8898033ccade46d42df6a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/dataset/detail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/dataset/detail.html.twig"));
$this->parent = $this->loadTemplate("frontend/base.html.twig", "frontend/dataset/detail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 3
echo "
\t<main>
\t\t<section class=\"dataset-inner section-padding bg-gray\">
\t\t\t<div class=\"page-bar-hero is-detail\" style=\"margin-top: -44px; background-image: url(";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/background/simpang_gumul.png"), "html", null, true);
echo ")\">
\t\t\t\t<div class=\"container d-flex align-items-center\">
\t\t\t\t\t<div class=\"position-relative\">
\t\t\t\t\t\t<a href=\"";
// line 9
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset");
echo "\" class=\"btn btn-outline-light btn-sm fw-500 mb-3\">
\t\t\t\t\t\t\t<i class=\"bi bi-arrow-left-circle\"></i>
\t\t\t\t\t\t\tDaftar Dataset
\t\t\t\t\t\t</a>
\t\t\t\t\t\t<div class=\"position-relative\">
\t\t\t\t\t\t\t<h5 class=\"text-light fw-600\">";
// line 14
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 14, $this->source); })()), "judul", [], "any", false, false, false, 14), "html", null, true);
echo "</h5>
\t\t\t\t\t\t\t<p
\t\t\t\t\t\t\t\tclass=\"text-light\">";
// line 21
echo "\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light\" style=\"margin-top: -7px;\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-building mr-2\"></i>
\t\t\t\t\t\t\t\t\t\t";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 26, $this->source); })()), "div", [], "any", false, false, false, 26), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</div>
\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=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-md-9\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light mt-2\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-file-text mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t";
// line 34
echo twig_escape_filter($this->env, (isset($context["kategori"]) || array_key_exists("kategori", $context) ? $context["kategori"] : (function () { throw new RuntimeError('Variable "kategori" does not exist.', 34, $this->source); })()), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-md-3\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light fw-700 pull-right\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-download mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t";
// line 40
if (twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 40, $this->source); })()), "jumlahDownload", [], "any", false, false, false, 40)) {
// line 41
echo "\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 41, $this->source); })()), "jumlahDownload", [], "any", false, false, false, 41), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 43
echo "\t\t\t\t\t\t\t\t\t\t\t0
\t\t\t\t\t\t\t\t\t\t";
}
// line 45
echo "
\t\t\t\t\t\t\t\t\t</div>
\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=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-md-9\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light mt-2\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-calendar mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t";
// line 53
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 53, $this->source); })()), "createdAt", [], "any", false, false, false, 53), "d F Y"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-md-3\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light fw-700 pull-right\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-eye mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t";
// line 59
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 59, $this->source); })()), "view", [], "any", false, false, false, 59), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</div>
\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</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"mt-4\"></div>
\t\t\t\t<div class=\"app-box-card\">
\t\t\t\t\t<div class=\"app-box-card__head d-flex justify-content-between align-items-center\">
\t\t\t\t\t\t<h5 class=\"mb-0 fw-600\">Meta Data</h6>
\t\t\t\t\t\t<div class=\"sosmed\">
\t\t\t\t\t\t\tBagikan :
\t\t\t\t\t\t\t<a href=\"https://www.facebook.com/sharer/sharer.php?u=";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "getSchemeAndHttpHost", [], "method", false, false, false, 76), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 76, $this->source); })()), "id", [], "any", false, false, false, 76)]), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t\t\t\t\t<i class=\"fa fa-facebook-square mr-2\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<a href=\"https://twitter.com/intent/tweet?text=";
// line 79
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 79, $this->source); })()), "judul", [], "any", false, false, false, 79), "html", null, true);
echo "&url=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 79, $this->source); })()), "request", [], "any", false, false, false, 79), "getSchemeAndHttpHost", [], "method", false, false, false, 79), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 79, $this->source); })()), "id", [], "any", false, false, false, 79)]), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t\t\t\t\t<i class=\"fa fa-twitter-square mr-2\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
// line 85
echo "\t\t\t\t\t\t\t<a href=\"https://web.whatsapp.com/\" target=\"_blank\">
\t\t\t\t\t\t\t\t<i class=\"fa fa-whatsapp mr-2\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
// line 89
echo "\t\t\t\t\t\t\t<div class=\"dropdown\">
\t\t\t\t\t\t\t\t<button onclick=\"dropDown()\" class=\"dropbtn bg-primary text-light\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-download mr-1\" style=\"font-size: 13px;\"></i>Unduh</button>
\t\t\t\t\t\t\t\t<div id=\"myDropdown\" class=\"dropdown-content\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_excel", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, false, 93), "tipe" => "xlsx"]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-file-excel mr-1\" style=\"font-size: 13px;\"></i>Spreadsheet</a>
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_excel", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 95, $this->source); })()), "id", [], "any", false, false, false, 95), "tipe" => "csv"]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-file-csv mr-1\" style=\"font-size: 13px;\"></i>CSV</a>
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 97, $this->source); })()), "id", [], "any", false, false, false, 97)]), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-gears mr-1\" style=\"font-size: 13px;\"></i>API</a>
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_dcat", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 99, $this->source); })()), "id", [], "any", false, false, false, 99)]), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-gears mr-1\" style=\"font-size: 13px;\"></i>CKAN DCAT</a>
\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</div>
\t\t\t\t\t<div class=\"app-box-card__body\">
\t\t\t\t\t\t<div class=\"table-responsive mt-20\">
\t\t\t\t\t\t\t<table class=\"table table-bordered table-addt\">
\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td width=\"20%\">Dataset Dibuat</td>
\t\t\t\t\t\t\t\t\t\t<th>";
// line 111
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 111, $this->source); })()), "createdAt", [], "any", false, false, false, 111), "d F Y"), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t\t<td>Satuan Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>";
// line 113
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 113, $this->source); })()), "satuan", [], "any", false, false, false, 113), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td>Kode Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>";
// line 117
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 117, $this->source); })()), "kode", [], "any", false, false, false, 117), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t\t<td>Periode Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>";
// line 119
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 119, $this->source); })()), "periode", [], "any", false, false, false, 119), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td>Produsen</td>
\t\t\t\t\t\t\t\t\t\t<th>";
// line 123
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 123, $this->source); })()), "div", [], "any", false, false, false, 123), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t\t<td>Sumber Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>";
// line 125
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 125, $this->source); })()), "sumber", [], "any", false, false, false, 125), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"mb-5\"></div>
\t\t\t\t<div class=\"app-box-card\" style=\"margin-top: -25px;\">
\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t<div class=\"app-box-card with-tabs\">
\t\t\t\t\t\t\t<div class=\"app-box-card__head d-flex\">
\t\t\t\t\t\t\t\t<ul class=\"nav nav-pills\" id=\"myTab\" role=\"tablist\">
\t\t\t\t\t\t\t\t\t<li class=\"nav-item\">
\t\t\t\t\t\t\t\t\t\t<a class=\"nav-link active\" id=\"nasional-tab\" data-toggle=\"tab\" href=\"#tabel\" role=\"tab\" aria-controls=\"data\" aria-selected=\"true\">Tabel</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"nav-item\">
\t\t\t\t\t\t\t\t\t\t<a class=\"nav-link\" id=\"lokal-tab\" data-toggle=\"tab\" href=\"#grafik\" role=\"tab\" aria-controls=\"datamedia\" aria-selected=\"false\">Grafik</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
// line 148
echo "\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"app-box-card__body\">
\t\t\t\t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent\">
\t\t\t\t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"tabel\" role=\"tabpanel\" aria-labelledby=\"versi-tab\">
\t\t\t\t\t\t\t\t\t\t<div class=\"content\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 155
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 155, $this->source); })()), "jenis", [], "any", false, false, false, 155), 1))) {
// line 156
echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-responsive mt-30\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-addt\" id=\"\" width=\"100%\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Deskripsi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Rumus</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Satuan</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"";
// line 163
echo twig_escape_filter($this->env, (isset($context["jumlah_tahun"]) || array_key_exists("jumlah_tahun", $context) ? $context["jumlah_tahun"] : (function () { throw new RuntimeError('Variable "jumlah_tahun" does not exist.', 163, $this->source); })()), "html", null, true);
echo "\" style=\"text-align: center;\">Tahun</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 166
$context["i"] = 0;
// line 167
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 170
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["tahun"]) || array_key_exists("tahun", $context) ? $context["tahun"] : (function () { throw new RuntimeError('Variable "tahun" does not exist.', 170, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["thn"]) {
// line 171
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 172
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["thn"], "isi", [], "any", false, false, false, 172), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 174
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 174, $this->source); })()) + 1);
// line 175
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['thn'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 181
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 181, $this->source); })()), "judul", [], "any", false, false, false, 181), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 182
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 182, $this->source); })()), "rumus", [], "any", false, false, false, 182), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 183
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 183, $this->source); })()), "satuan", [], "any", false, false, false, 183), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 184
$context["temp_target"] = "";
// line 185
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["temp_real"] = "";
// line 186
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 186, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["res"]) {
// line 187
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 188
$context["temp_target"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "target", [], "array", false, false, false, 188), "nilai", [], "array", false, false, false, 188);
// line 189
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["temp_real"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "realisasi", [], "array", false, false, false, 189), "nilai", [], "array", false, false, false, 189);
// line 190
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, (isset($context["temp_target"]) || array_key_exists("temp_target", $context) ? $context["temp_target"] : (function () { throw new RuntimeError('Variable "temp_target" does not exist.', 190, $this->source); })()), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 191
echo twig_escape_filter($this->env, (isset($context["temp_real"]) || array_key_exists("temp_real", $context) ? $context["temp_real"] : (function () { throw new RuntimeError('Variable "temp_real" does not exist.', 191, $this->source); })()), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['res'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 194
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 199
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ((isset($context["variabel"]) || array_key_exists("variabel", $context) ? $context["variabel"] : (function () { throw new RuntimeError('Variable "variabel" does not exist.', 199, $this->source); })())) {
// line 200
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-responsive mt-30\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-addt\" id=\"table_ajax\" width=\"100%\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 204
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["variabel"]) || array_key_exists("variabel", $context) ? $context["variabel"] : (function () { throw new RuntimeError('Variable "variabel" does not exist.', 204, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["var"]) {
// line 205
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["var"], "nama", [], "any", false, false, false, 205), "html", null, true);
echo "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['var'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 207
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 209
$context["i"] = 0;
// line 210
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["variabel"]) || array_key_exists("variabel", $context) ? $context["variabel"] : (function () { throw new RuntimeError('Variable "variabel" does not exist.', 210, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["var"]) {
// line 211
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th><input type=\"text\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["var"], "nama", [], "any", false, false, false, 211), "html", null, true);
echo "\" data-column=\"";
echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 211, $this->source); })()), "html", null, true);
echo "\" class=\"search-input-text form-control\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 212
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 212, $this->source); })()) + 1);
// line 213
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['var'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 214
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody></tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 220
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 221
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\t<div class=\"tab-pane fade\" id=\"grafik\" role=\"tabpanel\" aria-labelledby=\"metode-tab\">
\t\t\t\t\t\t\t\t\t\t<div class=\"content\">
\t\t\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 227
if ((isset($context["grafik"]) || array_key_exists("grafik", $context) ? $context["grafik"] : (function () { throw new RuntimeError('Variable "grafik" does not exist.', 227, $this->source); })())) {
// line 228
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["grafik"]) || array_key_exists("grafik", $context) ? $context["grafik"] : (function () { throw new RuntimeError('Variable "grafik" does not exist.', 228, $this->source); })()), "isShow", [], "any", false, false, false, 228), true))) {
// line 229
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-1\">Periode</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-3\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div style=\"display:flex ;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name=\"periode\" id=\"periode\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 234
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["opt_periode"]) || array_key_exists("opt_periode", $context) ? $context["opt_periode"] : (function () { throw new RuntimeError('Variable "opt_periode" does not exist.', 234, $this->source); })()));
foreach ($context['_seq'] as $context["k"] => $context["item"]) {
// line 235
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
echo twig_escape_filter($this->env, $context["item"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["item"], "html", null, true);
echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['k'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 237
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div style=\"margin-left:2px ;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name=\"tahun\" id=\"tahunx\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"All\">Semua</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 242
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(twig_date_format_filter($this->env, "now", "Y"), 2016));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 243
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 245
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 250
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 251
echo "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t\t\t\t<div style=\"overflow-x: auto;\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 254
if ((isset($context["grafik"]) || array_key_exists("grafik", $context) ? $context["grafik"] : (function () { throw new RuntimeError('Variable "grafik" does not exist.', 254, $this->source); })())) {
// line 255
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["grafik"]) || array_key_exists("grafik", $context) ? $context["grafik"] : (function () { throw new RuntimeError('Variable "grafik" does not exist.', 255, $this->source); })()), "isShow", [], "any", false, false, false, 255), true))) {
// line 256
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_include($this->env, $context, "frontend/dataset/_chart.html.twig", ["publikasi" => (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 256, $this->source); })()), "grafik" => (isset($context["grafik"]) || array_key_exists("grafik", $context) ? $context["grafik"] : (function () { throw new RuntimeError('Variable "grafik" does not exist.', 256, $this->source); })())]);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 258
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 259
echo "\t\t\t\t\t\t\t\t\t\t\t</div>
\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</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card mt-50\" style=\"background: whitesmoke;\">
\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t<h5>Rekomendasi Dataset</h5>
\t\t\t\t\t\t<div class=\"content-rekom\">
\t\t\t\t\t\t\t";
// line 272
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["terkait"]) || array_key_exists("terkait", $context) ? $context["terkait"] : (function () { throw new RuntimeError('Variable "terkait" does not exist.', 272, $this->source); })()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["dt"]) {
// line 273
echo "\t\t\t\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, $context["dt"], "judul", [], "any", false, false, false, 273)) {
// line 274
echo "\t\t\t\t\t\t\t\t\t<div class=\"d-block\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 276
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["dt"], "id", [], "any", false, false, false, 276)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dt"], "judul", [], "any", false, false, false, 276), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 279
echo "\t\t\t\t\t\t\t";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 280
echo "\t\t\t\t\t\t\t\t<div class=\"d-block\">
\t\t\t\t\t\t\t\t\tTidak Ada Rekomendasi Dataset
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 284
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t</main>
\t";
// line 291
if ((isset($context["variabel"]) || array_key_exists("variabel", $context) ? $context["variabel"] : (function () { throw new RuntimeError('Variable "variabel" does not exist.', 291, $this->source); })())) {
// line 292
echo "\t\t";
// line 293
echo "\t\t<link rel=\"stylesheet\" href=\"https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap4.min.css\">
\t\t<script src=\"";
// line 294
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("frontend/js/jquery.min.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js\"></script>
\t\t<script src=\"https://cdn.datatables.net/1.10.24/js/dataTables.bootstrap4.min.js\"></script>
\t\t<script src=\"//code.highcharts.com/4.1.8/highcharts.js\"></script>
\t\t<script src=\"//code.highcharts.com/4.1.8/modules/exporting.js\"></script>
\t\t<script type=\"text/javascript\">
\t\t\tjQuery(document).ready(function (\$) {
var dataTable = \$('#table_ajax').DataTable({
\"processing\": true,
\"bSortCellsTop\": true,
\"searching\": false,
\"serverSide\": true,
\"bLengthChange\": false,
\"ordering\": false,
\"scrollX\": true,
\"ajax\": {
'url': \"";
// line 311
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dataset_dataset_table", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["publikasi"]) || array_key_exists("publikasi", $context) ? $context["publikasi"] : (function () { throw new RuntimeError('Variable "publikasi" does not exist.', 311, $this->source); })()), "id", [], "any", false, false, false, 311)]), "html", null, true);
echo "\",
'type': 'POST',
'data': function (data) {
";
// line 314
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["variabel"]) || array_key_exists("variabel", $context) ? $context["variabel"] : (function () { throw new RuntimeError('Variable "variabel" does not exist.', 314, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["val"]) {
// line 315
echo "data.";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["val"], "nama", [], "any", false, false, false, 315), "html", null, true);
echo " = \$('#";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["val"], "nama", [], "any", false, false, false, 315), "html", null, true);
echo "').val();";
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['val'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 317
echo "}
}
});
\$('.search-input-text').on('keyup click', function () {
dataTable.draw();
});
})
\t\t</script>
\t";
}
// line 327
echo "
\t<script>
\t\t\$('#periode').change(function () {
getDataChart();
});
\$('#tahunx').change(function () {
getDataChart();
});
\t</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/dataset/detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 654 => 327, 642 => 317, 630 => 315, 626 => 314, 620 => 311, 600 => 294, 597 => 293, 595 => 292, 593 => 291, 584 => 284, 575 => 280, 570 => 279, 562 => 276, 558 => 274, 555 => 273, 550 => 272, 535 => 259, 532 => 258, 526 => 256, 523 => 255, 521 => 254, 516 => 251, 513 => 250, 506 => 245, 495 => 243, 491 => 242, 484 => 237, 473 => 235, 469 => 234, 462 => 229, 459 => 228, 457 => 227, 449 => 221, 446 => 220, 438 => 214, 432 => 213, 430 => 212, 423 => 211, 418 => 210, 416 => 209, 412 => 207, 403 => 205, 399 => 204, 393 => 200, 390 => 199, 383 => 194, 374 => 191, 369 => 190, 366 => 189, 364 => 188, 361 => 187, 356 => 186, 353 => 185, 351 => 184, 347 => 183, 343 => 182, 339 => 181, 333 => 177, 326 => 175, 324 => 174, 319 => 172, 316 => 171, 312 => 170, 307 => 167, 305 => 166, 299 => 163, 290 => 156, 288 => 155, 279 => 148, 256 => 125, 251 => 123, 244 => 119, 239 => 117, 232 => 113, 227 => 111, 212 => 99, 207 => 97, 202 => 95, 197 => 93, 191 => 89, 186 => 85, 177 => 79, 170 => 76, 150 => 59, 141 => 53, 131 => 45, 127 => 43, 121 => 41, 119 => 40, 110 => 34, 99 => 26, 92 => 21, 87 => 14, 79 => 9, 73 => 6, 68 => 3, 58 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/base.html.twig' %}
{% block body %}
\t<main>
\t\t<section class=\"dataset-inner section-padding bg-gray\">
\t\t\t<div class=\"page-bar-hero is-detail\" style=\"margin-top: -44px; background-image: url({{ asset('/assets/background/simpang_gumul.png') }})\">
\t\t\t\t<div class=\"container d-flex align-items-center\">
\t\t\t\t\t<div class=\"position-relative\">
\t\t\t\t\t\t<a href=\"{{ path('dataset') }}\" class=\"btn btn-outline-light btn-sm fw-500 mb-3\">
\t\t\t\t\t\t\t<i class=\"bi bi-arrow-left-circle\"></i>
\t\t\t\t\t\t\tDaftar Dataset
\t\t\t\t\t\t</a>
\t\t\t\t\t\t<div class=\"position-relative\">
\t\t\t\t\t\t\t<h5 class=\"text-light fw-600\">{{ publikasi.judul }}</h5>
\t\t\t\t\t\t\t<p
\t\t\t\t\t\t\t\tclass=\"text-light\">{# {% if publikasi.div.div_icon %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <img style=\"width:35px;\" src=\"{{asset('uploads/') ~ publikasi.div.div_icon}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <img style=\"width:35px;\" src=\"{{asset('assets/logo/kota_kediri.png')}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {% endif %} #}
\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light\" style=\"margin-top: -7px;\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-building mr-2\"></i>
\t\t\t\t\t\t\t\t\t\t{{ publikasi.div }}
\t\t\t\t\t\t\t\t\t</div>
\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=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-md-9\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light mt-2\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-file-text mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t{{ kategori }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-md-3\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light fw-700 pull-right\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-download mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t{% if publikasi.jumlahDownload %}
\t\t\t\t\t\t\t\t\t\t\t{{ publikasi.jumlahDownload }}
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t0
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</div>
\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=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-md-9\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light mt-2\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-calendar mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t{{ publikasi.createdAt|date('d F Y') }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-md-3\">
\t\t\t\t\t\t\t\t\t<div class=\"text-light fw-700 pull-right\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-eye mr-1\"></i>
\t\t\t\t\t\t\t\t\t\t{{ publikasi.view }}
\t\t\t\t\t\t\t\t\t</div>
\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</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"mt-4\"></div>
\t\t\t\t<div class=\"app-box-card\">
\t\t\t\t\t<div class=\"app-box-card__head d-flex justify-content-between align-items-center\">
\t\t\t\t\t\t<h5 class=\"mb-0 fw-600\">Meta Data</h6>
\t\t\t\t\t\t<div class=\"sosmed\">
\t\t\t\t\t\t\tBagikan :
\t\t\t\t\t\t\t<a href=\"https://www.facebook.com/sharer/sharer.php?u={{app.request.getSchemeAndHttpHost()}}{{ path('dataset_detail', {id: publikasi.id}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t\t<i class=\"fa fa-facebook-square mr-2\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<a href=\"https://twitter.com/intent/tweet?text={{ publikasi.judul }}&url={{app.request.getSchemeAndHttpHost()}}{{ path('dataset_detail', {id: publikasi.id}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t\t<i class=\"fa fa-twitter-square mr-2\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{# <a href=\"whatsapp://send?text={{ publikasi.judul }} {{app.request.getSchemeAndHttpHost()}}{{ path('dataset_detail', {id: publikasi.id}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-whatsapp mr-2\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a> #}
\t\t\t\t\t\t\t<a href=\"https://web.whatsapp.com/\" target=\"_blank\">
\t\t\t\t\t\t\t\t<i class=\"fa fa-whatsapp mr-2\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{# <a href=\"{{ path('dataset_excel', {id:publikasi.id}) }}\" class=\"btn btn-light bg-blue\"><i class=\"fa fa-download mr-1\" style=\"font-size: 13px;\"></i>Unduh</a> #}
\t\t\t\t\t\t\t<div class=\"dropdown\">
\t\t\t\t\t\t\t\t<button onclick=\"dropDown()\" class=\"dropbtn bg-primary text-light\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-download mr-1\" style=\"font-size: 13px;\"></i>Unduh</button>
\t\t\t\t\t\t\t\t<div id=\"myDropdown\" class=\"dropdown-content\">
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('dataset_excel', {id:publikasi.id, tipe:'xlsx'}) }}\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-file-excel mr-1\" style=\"font-size: 13px;\"></i>Spreadsheet</a>
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('dataset_excel', {id:publikasi.id, tipe:'csv'}) }}\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-file-csv mr-1\" style=\"font-size: 13px;\"></i>CSV</a>
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('api', {id: publikasi.id}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-gears mr-1\" style=\"font-size: 13px;\"></i>API</a>
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('dataset_dcat', {id: publikasi.id}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-gears mr-1\" style=\"font-size: 13px;\"></i>CKAN DCAT</a>
\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</div>
\t\t\t\t\t<div class=\"app-box-card__body\">
\t\t\t\t\t\t<div class=\"table-responsive mt-20\">
\t\t\t\t\t\t\t<table class=\"table table-bordered table-addt\">
\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td width=\"20%\">Dataset Dibuat</td>
\t\t\t\t\t\t\t\t\t\t<th>{{ publikasi.createdAt|date('d F Y') }}</th>
\t\t\t\t\t\t\t\t\t\t<td>Satuan Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>{{ publikasi.satuan }}</th>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td>Kode Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>{{ publikasi.kode }}</th>
\t\t\t\t\t\t\t\t\t\t<td>Periode Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>{{ publikasi.periode }}</th>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td>Produsen</td>
\t\t\t\t\t\t\t\t\t\t<th>{{ publikasi.div }}</th>
\t\t\t\t\t\t\t\t\t\t<td>Sumber Dataset</td>
\t\t\t\t\t\t\t\t\t\t<th>{{ publikasi.sumber }}</th>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"mb-5\"></div>
\t\t\t\t<div class=\"app-box-card\" style=\"margin-top: -25px;\">
\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t<div class=\"app-box-card with-tabs\">
\t\t\t\t\t\t\t<div class=\"app-box-card__head d-flex\">
\t\t\t\t\t\t\t\t<ul class=\"nav nav-pills\" id=\"myTab\" role=\"tablist\">
\t\t\t\t\t\t\t\t\t<li class=\"nav-item\">
\t\t\t\t\t\t\t\t\t\t<a class=\"nav-link active\" id=\"nasional-tab\" data-toggle=\"tab\" href=\"#tabel\" role=\"tab\" aria-controls=\"data\" aria-selected=\"true\">Tabel</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"nav-item\">
\t\t\t\t\t\t\t\t\t\t<a class=\"nav-link\" id=\"lokal-tab\" data-toggle=\"tab\" href=\"#grafik\" role=\"tab\" aria-controls=\"datamedia\" aria-selected=\"false\">Grafik</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t{# <li class=\"nav-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <a class=\"nav-link\" id=\"lokal-tab\" data-toggle=\"tab\" href=\"#peta\" role=\"tab\" aria-controls=\"datamedia\" aria-selected=\"false\">Peta</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </li> #}
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"app-box-card__body\">
\t\t\t\t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent\">
\t\t\t\t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"tabel\" role=\"tabpanel\" aria-labelledby=\"versi-tab\">
\t\t\t\t\t\t\t\t\t\t<div class=\"content\">
\t\t\t\t\t\t\t\t\t\t\t{% if publikasi.jenis != 1 %}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-responsive mt-30\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-addt\" id=\"\" width=\"100%\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Deskripsi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Rumus</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Satuan</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"{{ jumlah_tahun }}\" style=\"text-align: center;\">Tahun</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set i = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for thn in tahun %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{thn.isi}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set i = i + 1 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ publikasi.judul }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ publikasi.rumus }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ publikasi.satuan }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set temp_target = '' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set temp_real = '' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for res in result %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set temp_target = res['target']['nilai'] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set temp_real = res['realisasi']['nilai'] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ temp_target }}<br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ temp_real }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if variabel %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-responsive mt-30\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-addt\" id=\"table_ajax\" width=\"100%\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for var in variabel %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>{{ var.nama }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set i = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for var in variabel %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th><input type=\"text\" id=\"{{ var.nama }}\" data-column=\"{{ i }}\" class=\"search-input-text form-control\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set i = i + 1 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody></tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\t<div class=\"tab-pane fade\" id=\"grafik\" role=\"tabpanel\" aria-labelledby=\"metode-tab\">
\t\t\t\t\t\t\t\t\t\t<div class=\"content\">
\t\t\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t{% if grafik %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if grafik.isShow == true %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-1\">Periode</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-3\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div style=\"display:flex ;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name=\"periode\" id=\"periode\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for k, item in opt_periode %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ item }}\">{{ item }}</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div style=\"margin-left:2px ;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name=\"tahun\" id=\"tahunx\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"All\">Semua</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in range( \"now\"|date(\"Y\"), 2016 ) %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"{{i}}\">{{i}}</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t\t\t\t<div style=\"overflow-x: auto;\">
\t\t\t\t\t\t\t\t\t\t\t\t{% if grafik %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if grafik.isShow == true %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ include('frontend/dataset/_chart.html.twig', {publikasi:publikasi, grafik:grafik}) }}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\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</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card mt-50\" style=\"background: whitesmoke;\">
\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t<h5>Rekomendasi Dataset</h5>
\t\t\t\t\t\t<div class=\"content-rekom\">
\t\t\t\t\t\t\t{% for dt in terkait %}
\t\t\t\t\t\t\t\t{% if dt.judul %}
\t\t\t\t\t\t\t\t\t<div class=\"d-block\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('dataset_detail', {id: dt.id}) }}\">{{ dt.judul }}</a>
\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{% else %}
\t\t\t\t\t\t\t\t<div class=\"d-block\">
\t\t\t\t\t\t\t\t\tTidak Ada Rekomendasi Dataset
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t</main>
\t{% if variabel %}
\t\t{# <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css\"> #}
\t\t<link rel=\"stylesheet\" href=\"https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap4.min.css\">
\t\t<script src=\"{{ asset('frontend/js/jquery.min.js') }}\"></script>
\t\t<script src=\"https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js\"></script>
\t\t<script src=\"https://cdn.datatables.net/1.10.24/js/dataTables.bootstrap4.min.js\"></script>
\t\t<script src=\"//code.highcharts.com/4.1.8/highcharts.js\"></script>
\t\t<script src=\"//code.highcharts.com/4.1.8/modules/exporting.js\"></script>
\t\t<script type=\"text/javascript\">
\t\t\tjQuery(document).ready(function (\$) {
var dataTable = \$('#table_ajax').DataTable({
\"processing\": true,
\"bSortCellsTop\": true,
\"searching\": false,
\"serverSide\": true,
\"bLengthChange\": false,
\"ordering\": false,
\"scrollX\": true,
\"ajax\": {
'url': \"{{ path('dataset_dataset_table', {id: publikasi.id}) }}\",
'type': 'POST',
'data': function (data) {
{% for val in variabel %}
{{ \"data.\"|raw }}{{ val.nama }}{{ \" = \$('#\"|raw }}{{ val.nama }}{{ \"').val();\"|raw }}
{% endfor %}
}
}
});
\$('.search-input-text').on('keyup click', function () {
dataTable.draw();
});
})
\t\t</script>
\t{% endif %}
\t<script>
\t\t\$('#periode').change(function () {
getDataChart();
});
\$('#tahunx').change(function () {
getDataChart();
});
\t</script>
{% endblock %}
", "frontend/dataset/detail.html.twig", "/var/www/html/open_data/templates/frontend/dataset/detail.html.twig");
}
}