summaryrefslogtreecommitdiff
path: root/app/Template/project_overview/activity.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-19 17:15:25 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-19 17:15:25 -0400
commit42376aec4ad78ad880d3e42219ccec07bf09339a (patch)
tree15fec841452fcf7534b8f373be4e2fc291ac9374 /app/Template/project_overview/activity.php
parentcaf8cb3323e4ef9af2f76b639785d083540d4687 (diff)
Improve project overview page
Diffstat (limited to 'app/Template/project_overview/activity.php')
-rw-r--r--app/Template/project_overview/activity.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Template/project_overview/activity.php b/app/Template/project_overview/activity.php
new file mode 100644
index 00000000..2eb7a193
--- /dev/null
+++ b/app/Template/project_overview/activity.php
@@ -0,0 +1,8 @@
+<section class="accordion-section <?= empty($events) ? 'accordion-collapsed' : '' ?>">
+ <div class="accordion-title">
+ <h3><a href="#" class="fa accordion-toggle"></a> <?= t('Last activity') ?></h3>
+ </div>
+ <div class="accordion-content">
+ <?= $this->render('event/events', array('events' => $events)) ?>
+ </div>
+</section> \ No newline at end of file