2014-07-20 12:26:15 +02:00
|
|
|
<section id="main">
|
|
|
|
<div class="page-header">
|
|
|
|
<ul>
|
2015-02-25 17:29:06 +01:00
|
|
|
<li>
|
|
|
|
<i class="fa fa-table fa-fw"></i>
|
|
|
|
<?= $this->a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<i class="fa fa-calendar fa-fw"></i>
|
|
|
|
<?= $this->a(t('Calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<i class="fa fa-check-square-o fa-fw"></i>
|
|
|
|
<?= $this->a(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<i class="fa fa-dashboard fa-fw"></i>
|
|
|
|
<?= $this->a(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
2014-07-20 12:26:15 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<section>
|
|
|
|
<form method="get" action="?" autocomplete="off">
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formHidden('controller', $values) ?>
|
|
|
|
<?= $this->formHidden('action', $values) ?>
|
|
|
|
<?= $this->formHidden('project_id', $values) ?>
|
|
|
|
<?= $this->formText('search', $values, array(), array('autofocus', 'required', 'placeholder="'.t('Search').'"'), 'form-input-large') ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<input type="submit" value="<?= t('Search') ?>" class="btn btn-blue"/>
|
|
|
|
</form>
|
|
|
|
|
2015-02-25 17:29:06 +01:00
|
|
|
<?php if (! empty($values['search']) && $paginator->isEmpty()): ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<p class="alert"><?= t('Nothing found.') ?></p>
|
2015-02-25 17:29:06 +01:00
|
|
|
<?php elseif (! $paginator->isEmpty()): ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->render('task/table', array(
|
2015-02-25 17:29:06 +01:00
|
|
|
'paginator' => $paginator,
|
2014-11-23 20:13:38 +01:00
|
|
|
'categories' => $categories,
|
|
|
|
'columns' => $columns,
|
|
|
|
)) ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</section>
|