83d64e0a0ebcd7cee68f672078580543.php
3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* extension/dashboard/activity_info.twig */
class __TwigTemplate_fdea16af57e6671a4e31a6367df42457 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-calendar\"></i> ";
// line 3
yield ($context["heading_title"] ?? null);
yield "</h3>
</div>
<ul class=\"list-group\">
";
// line 6
if (($context["activities"] ?? null)) {
// line 7
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["activities"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["activity"]) {
// line 8
yield " <li class=\"list-group-item\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "comment", [], "any", false, false, false, 8);
yield "<br />
<small class=\"text-muted\"><i class=\"fa fa-clock-o\"></i> ";
// line 9
yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "date_added", [], "any", false, false, false, 9);
yield "</small></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
yield " ";
} else {
// line 12
yield " <li class=\"list-group-item text-center\">";
yield ($context["text_no_results"] ?? null);
yield "</li>
";
}
// line 14
yield " </ul>
</div>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/activity_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 77 => 14, 71 => 12, 68 => 11, 60 => 9, 55 => 8, 50 => 7, 48 => 6, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/activity_info.twig", "");
}
}