parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["notifications"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["entry"]) {
// line 2
echo "
env, $this->getAttribute($context["entry"], "type", []), "html", null, true);
echo "-notification\">env, $this->getAttribute($context["entry"], "type", []), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["entry"], "type", [])), "html", null, true);
echo "env, $this->getAttribute($context["entry"], "link", []), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, strip_tags($this->getAttribute($context["entry"], "message", [])), "html_attr");
echo "\">";
echo $this->getAttribute($context["entry"], "message", []);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entry'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "partials/notification-feed-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 34 => 2, 30 => 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 Source("{% for entry in notifications %}
{{ entry.type|capitalize }}{{ entry.message|raw }}
{% endfor %}
", "partials/notification-feed-block.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/admin/themes/grav/templates/partials/notification-feed-block.html.twig");
}
}