diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/board_index.php | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/app/Template/board_index.php b/app/Template/board_index.php index bff7dcc9..4fd3d326 100644 --- a/app/Template/board_index.php +++ b/app/Template/board_index.php @@ -2,6 +2,9 @@ <div class="page-header board"> <h2> + <?php if (Helper\is_admin()): ?> + <?= Helper\a('<i class="fa fa-cog"></i>', 'project', 'show', array('project_id' => $current_project_id)) ?> + <?php endif ?> <?= t('Project "%s"', $current_project_name) ?> </h2> </div> @@ -16,10 +19,25 @@ <span class="hide-tablet"><?= t('Filter by category') ?></span> <?= Helper\form_select('category_id', $categories, $filters) ?> </li> - <li><a href="#" id="filter-due-date"><?= t('Filter by due date') ?></a></li> - <li><a href="?controller=project&action=search&project_id=<?= $current_project_id ?>"><?= t('Search') ?></a></li> - <li><a href="?controller=project&action=tasks&project_id=<?= $current_project_id ?>"><?= t('Completed tasks') ?></a></li> - <li><a href="?controller=project&action=activity&project_id=<?= $current_project_id ?>"><?= t('Activity') ?></a></li> + <li> + <a href="#" id="filter-due-date"><?= t('Filter by due date') ?></a> + </li> + <li> + <i class="fa fa-search"></i> + <?= Helper\a(t('Search'), 'project', 'search', array('project_id' => $current_project_id)) ?> + </li> + <li> + <i class="fa fa-check-square-o"></i> + <?= Helper\a(t('Completed tasks'), 'project', 'tasks', array('project_id' => $current_project_id)) ?> + </li> + <li> + <i class="fa fa-dashboard"></i> + <?= Helper\a(t('Activity'), 'project', 'activity', array('project_id' => $current_project_id)) ?> + </li> + <?php if (Helper\is_admin()): ?> + <li><i class="fa fa-cog"></i> + <?= Helper\a(t('Edit board'), 'board', 'edit', array('project_id' => $current_project_id)) ?> + <?php endif ?> </ul> </div> |