diff options
Diffstat (limited to 'app/Template/board')
-rw-r--r-- | app/Template/board/files.php | 2 | ||||
-rw-r--r-- | app/Template/board/filters.php | 10 | ||||
-rw-r--r-- | app/Template/board/task.php | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/app/Template/board/files.php b/app/Template/board/files.php index fee0b63b..278b906b 100644 --- a/app/Template/board/files.php +++ b/app/Template/board/files.php @@ -6,7 +6,7 @@ $this->e($file['name']), 'file', 'download', - array('file_id' => $file['id'], 'task_id' => $file['task_id']) + array('file_id' => $file['id'], 'task_id' => $file['task_id'], 'project_id' => $task['project_id']) ) ?> <br/> diff --git a/app/Template/board/filters.php b/app/Template/board/filters.php index 36259820..45255231 100644 --- a/app/Template/board/filters.php +++ b/app/Template/board/filters.php @@ -12,7 +12,7 @@ <a href="#" id="filter-due-date"><?= t('Filter by due date') ?></a> </li> <li> - <i class="fa fa-search"></i> + <i class="fa fa-search fa-fw"></i> <?= $this->a(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?> </li> <li> @@ -23,13 +23,19 @@ <i class="fa fa-dashboard fa-fw"></i> <?= $this->a(t('Activity'), 'project', 'activity', 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> <?php if ($this->acl->isManagerActionAllowed($project['id'])): ?> <li> <i class="fa fa-line-chart fa-fw"></i> <?= $this->a(t('Analytics'), 'analytic', 'tasks', array('project_id' => $project['id'])) ?> </li> - <li><i class="fa fa-cog fa-fw"></i> + <li> + <i class="fa fa-cog fa-fw"></i> <?= $this->a(t('Configure'), 'project', 'show', array('project_id' => $project['id'])) ?> + </li> <?php endif ?> </ul> </div>
\ No newline at end of file diff --git a/app/Template/board/task.php b/app/Template/board/task.php index 6700b693..66ddee60 100644 --- a/app/Template/board/task.php +++ b/app/Template/board/task.php @@ -1,6 +1,6 @@ <?php if ($not_editable): ?> -<div class="task-board task-<?= $task['color_id'] ?> <?= $task['date_modification'] > time() - $board_highlight_period ? 'task-board-recent' : '' ?>"> +<div class="task-board color-<?= $task['color_id'] ?> <?= $task['date_modification'] > time() - $board_highlight_period ? 'task-board-recent' : '' ?>"> <?= $this->a('#'.$task['id'], 'task', 'readonly', array('task_id' => $task['id'], 'token' => $project['token'])) ?> @@ -30,7 +30,7 @@ <?php else: ?> -<div class="task-board draggable-item task-<?= $task['color_id'] ?> <?= $task['date_modification'] > time() - $board_highlight_period ? 'task-board-recent' : '' ?>" +<div class="task-board draggable-item color-<?= $task['color_id'] ?> <?= $task['date_modification'] > time() - $board_highlight_period ? 'task-board-recent' : '' ?>" data-task-id="<?= $task['id'] ?>" data-owner-id="<?= $task['owner_id'] ?>" data-category-id="<?= $task['category_id'] ?>" |