summaryrefslogtreecommitdiff
path: root/app/Template/project/events.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
commit34d7450d3c13342715e90ec21bceaa13e1baa876 (patch)
treea2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Template/project/events.php
parent88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff)
Template helpers refactoring
Diffstat (limited to 'app/Template/project/events.php')
-rw-r--r--app/Template/project/events.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/project/events.php b/app/Template/project/events.php
index 1b606414..93bc6584 100644
--- a/app/Template/project/events.php
+++ b/app/Template/project/events.php
@@ -5,11 +5,11 @@
<?php foreach ($events as $event): ?>
<div class="activity-event">
<p class="activity-datetime">
- <?php if (Helper\contains($event['event_name'], 'subtask')): ?>
+ <?php if ($this->contains($event['event_name'], 'subtask')): ?>
<i class="fa fa-tasks"></i>
- <?php elseif (Helper\contains($event['event_name'], 'task')): ?>
+ <?php elseif ($this->contains($event['event_name'], 'task')): ?>
<i class="fa fa-newspaper-o"></i>
- <?php elseif (Helper\contains($event['event_name'], 'comment')): ?>
+ <?php elseif ($this->contains($event['event_name'], 'comment')): ?>
<i class="fa fa-comments-o"></i>
<?php endif ?>
&nbsp;<?= dt('%B %e, %Y at %k:%M %p', $event['date_creation']) ?>