summaryrefslogtreecommitdiff
path: root/app/Template/activity
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 11:14:21 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 11:14:21 -0400
commit554500aa493faa66b43b2ddce72338880a874724 (patch)
tree73066cfbe6af3cabf81b5be1dc5ef81e44792a21 /app/Template/activity
parenta327f790ee036664439bf50e00c95fb8a0e1f97e (diff)
Refactoring to implement new layout with filters: board/calendar/list views (work in progress)
Diffstat (limited to 'app/Template/activity')
-rw-r--r--app/Template/activity/project.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/Template/activity/project.php b/app/Template/activity/project.php
new file mode 100644
index 00000000..480bbadd
--- /dev/null
+++ b/app/Template/activity/project.php
@@ -0,0 +1,40 @@
+<section id="main">
+ <div class="page-header">
+ <ul>
+ <li>
+ <span class="dropdown">
+ <span>
+ <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Actions') ?></a>
+ <ul>
+ <?= $this->render('project/dropdown', array('project' => $project)) ?>
+ </ul>
+ </span>
+ </span>
+ </li>
+ <li>
+ <i class="fa fa-th fa-fw"></i>
+ <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <i class="fa fa-calendar fa-fw"></i>
+ <?= $this->url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <?php if ($this->user->isManager($project['id'])): ?>
+ <li>
+ <i class="fa fa-cog fa-fw"></i>
+ <?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <?php endif ?>
+ <li>
+ <i class="fa fa-folder fa-fw"></i>
+ <?= $this->url->link(t('All projects'), 'project', 'index') ?>
+ </li>
+ <?php if ($project['is_public']): ?>
+ <li><i class="fa fa-rss-square fa-fw"></i><?= $this->url->link(t('RSS feed'), 'feed', 'project', array('token' => $project['token']), false, '', '', true) ?></li>
+ <li><i class="fa fa-calendar fa-fw"></i><?= $this->url->link(t('iCal feed'), 'ical', 'project', array('token' => $project['token'])) ?></li>
+ <?php endif ?>
+ </ul>
+ </div>
+
+ <?= $this->render('event/events', array('events' => $events)) ?>
+</section> \ No newline at end of file