diff options
author | Max Kamashev <kamashev@gollard.ru> | 2015-09-30 09:19:33 +0300 |
---|---|---|
committer | Max Kamashev <kamashev@gollard.ru> | 2015-09-30 09:19:33 +0300 |
commit | cabcdc9d9e58d279ac6a5992ae5202568ed4d24e (patch) | |
tree | eebdc4ec16eb7dc2ed0edd953321fa3e02869f34 /app/Template/board/table_tasks.php | |
parent | 930406bf70e42413a83114b9530b3f63ccf9419f (diff) | |
parent | 421e8751ebca5b566ecbd8d08e9d56b93ce81ffa (diff) |
Merge branch 'master' of https://github.com/fguillot/kanboard into 1245_bug_with_subtask_timer
Diffstat (limited to 'app/Template/board/table_tasks.php')
-rw-r--r-- | app/Template/board/table_tasks.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app/Template/board/table_tasks.php b/app/Template/board/table_tasks.php new file mode 100644 index 00000000..edb4d323 --- /dev/null +++ b/app/Template/board/table_tasks.php @@ -0,0 +1,31 @@ +<!-- task row --> +<tr class="board-swimlane swimlane-row-<?= $swimlane['id'] ?>"> + <?php foreach ($swimlane['columns'] as $column): ?> + <td class=" + board-column-<?= $column['id'] ?> + <?= $column['task_limit'] > 0 && $column['nb_tasks'] > $column['task_limit'] ? 'board-task-list-limit' : '' ?> + "> + + <!-- tasks list --> + <div class="board-task-list board-column-expanded" data-column-id="<?= $column['id'] ?>" data-swimlane-id="<?= $swimlane['id'] ?>" data-task-limit="<?= $column['task_limit'] ?>"> + <?php foreach ($column['tasks'] as $task): ?> + <?= $this->render($not_editable ? 'board/task_public' : 'board/task_private', array( + 'project' => $project, + 'task' => $task, + 'board_highlight_period' => $board_highlight_period, + 'not_editable' => $not_editable, + )) ?> + <?php endforeach ?> + </div> + + <!-- column in collapsed mode (rotated text) --> + <div class="board-column-collapsed"> + <div class="board-rotation-wrapper"> + <div class="board-column-title board-rotation" data-column-id="<?= $column['id'] ?>" title="<?= t('Show this column') ?>"> + <i class="fa fa-chevron-circle-up tooltip" title="<?= $this->e($column['title']) ?>"></i> <?= $this->e($column['title']) ?> + </div> + </div> + </div> + </td> + <?php endforeach ?> +</tr> |