summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/activity.php2
-rw-r--r--app/Template/project/events.php21
2 files changed, 1 insertions, 22 deletions
diff --git a/app/Template/project/activity.php b/app/Template/project/activity.php
index bc4eb19c..7da6be5c 100644
--- a/app/Template/project/activity.php
+++ b/app/Template/project/activity.php
@@ -23,6 +23,6 @@
</ul>
</div>
<section>
- <?= $this->render('project/events', array('events' => $events)) ?>
+ <?= $this->render('event/events', array('events' => $events)) ?>
</section>
</section> \ No newline at end of file
diff --git a/app/Template/project/events.php b/app/Template/project/events.php
deleted file mode 100644
index 93bc6584..00000000
--- a/app/Template/project/events.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php if (empty($events)): ?>
- <p class="alert"><?= t('No activity.') ?></p>
-<?php else: ?>
-
- <?php foreach ($events as $event): ?>
- <div class="activity-event">
- <p class="activity-datetime">
- <?php if ($this->contains($event['event_name'], 'subtask')): ?>
- <i class="fa fa-tasks"></i>
- <?php elseif ($this->contains($event['event_name'], 'task')): ?>
- <i class="fa fa-newspaper-o"></i>
- <?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']) ?>
- </p>
- <div class="activity-content"><?= $event['event_content'] ?></div>
- </div>
- <?php endforeach ?>
-
-<?php endif ?> \ No newline at end of file