SAND-framework/application/modules/gitlist/cache/views/5e/5e3db4489115dc8c8cf0242484fe512188edd3713347442b92850bf3035d4849.php

129 lines
4.6 KiB
PHP

<?php
/* index.twig */
class __TwigTemplate_299ca00d560c697557917a19fc0dc6a45add83cfb23d301ffbe4ebc754b60460 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("layout.twig", "index.twig", 1);
$this->blocks = array(
'title' => array($this, 'block_title'),
'body' => array($this, 'block_body'),
);
}
protected function doGetParent(array $context)
{
return "layout.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 2
public function block_title($context, array $blocks = array())
{
echo "GitList";
}
// line 4
public function block_body($context, array $blocks = array())
{
// line 5
$this->loadTemplate("navigation.twig", "index.twig", 5)->display($context);
// line 6
echo "
<div class=\"container\" id=\"repositories\">
<div class=\"search\">
<input class=\"search\" placeholder=\"search\" autofocus>
</div>
<div class=\"list\">
";
// line 13
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["repositories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["repository"]) {
// line 14
echo " <div class=\"repository\">
<div class=\"repository-header\">
<i class=\"icon-folder-open icon-spaced\"></i> <a href=\"";
// line 16
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("repository", array("repo" => $this->getAttribute($context["repository"], "name", array()))), "html", null, true);
echo "\"><span class=\"name\">";
echo twig_escape_filter($this->env, $this->getAttribute($context["repository"], "name", array()), "html", null, true);
echo "</span></a>
<a href=\"";
// line 17
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("rss", array("repo" => $this->getAttribute($context["repository"], "name", array()), "branch" => "master")), "html", null, true);
echo "\"><i class=\"rss pull-right\"></i></a>
</div>
<div class=\"repository-body\">
";
// line 20
if ($this->getAttribute($context["repository"], "description", array())) {
// line 21
echo " <p>";
echo twig_escape_filter($this->env, $this->getAttribute($context["repository"], "description", array()), "html", null, true);
echo "</p>
";
} else {
// line 23
echo " <p>There is no repository description file. Please, create one to remove this message.</p>
";
}
// line 25
echo " </div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['repository'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo " </div>
<hr />
";
// line 32
$this->loadTemplate("footer.twig", "index.twig", 32)->display($context);
// line 33
echo "</div>
";
}
public function getTemplateName()
{
return "index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 33, 95 => 32, 89 => 28, 81 => 25, 77 => 23, 71 => 21, 69 => 20, 63 => 17, 57 => 16, 53 => 14, 49 => 13, 40 => 6, 38 => 5, 35 => 4, 29 => 2, 11 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("", "index.twig", "/var/www/SAND-FrameWork-1.1.0/application/modules/gitlist/themes/default/twig/index.twig");
}
}