summaryrefslogtreecommitdiff
path: root/app/Template/project_activity.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Template/project_activity.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Template/project_activity.php')
-rw-r--r--app/Template/project_activity.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/project_activity.php b/app/Template/project_activity.php
new file mode 100644
index 00000000..d07ba86a
--- /dev/null
+++ b/app/Template/project_activity.php
@@ -0,0 +1,18 @@
+<section id="main">
+ <div class="page-header">
+ <h2><?= t('%s\'s activity', $project['name']) ?></h2>
+ <ul>
+ <li><?= Helper\a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
+ <li><?= Helper\a(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?></li>
+ <li><?= Helper\a(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?></li>
+ <li><?= Helper\a(t('List of projects'), 'project', 'index') ?></li>
+ </ul>
+ </div>
+ <section>
+ <?php if ($project['is_public']): ?>
+ <p class="pull-right"><i class="fa fa-rss-square"></i> <?= Helper\a(t('RSS feed'), 'project', 'feed', array('token' => $project['token'])) ?></p>
+ <?php endif ?>
+
+ <?= Helper\template('project_events', array('events' => $events)) ?>
+ </section>
+</section> \ No newline at end of file