summaryrefslogtreecommitdiff
path: root/app/Templates/board_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Templates/board_show.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Templates/board_show.php')
-rw-r--r--app/Templates/board_show.php49
1 files changed, 0 insertions, 49 deletions
diff --git a/app/Templates/board_show.php b/app/Templates/board_show.php
deleted file mode 100644
index e8c3c1ba..00000000
--- a/app/Templates/board_show.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<table id="board" data-project-id="<?= $current_project_id ?>" data-time="<?= time() ?>" data-check-interval="<?= $board_private_refresh_interval ?>" data-csrf-token=<?= \Core\Security::getCSRFToken() ?>>
-<tr>
- <?php $column_with = round(100 / count($board), 2); ?>
- <?php foreach ($board as $column): ?>
- <th width="<?= $column_with ?>%">
- <div class="board-add-icon">
- <a href="?controller=task&amp;action=create&amp;project_id=<?= $column['project_id'] ?>&amp;column_id=<?= $column['id'] ?>" title="<?= t('Add a new task') ?>">+</a>
- </div>
- <?= Helper\escape($column['title']) ?>
- <?php if ($column['task_limit']): ?>
- <span title="<?= t('Task limit') ?>" class="task-limit">
- (
- <span id="task-number-column-<?= $column['id'] ?>"><?= count($column['tasks']) ?></span>
- /
- <?= Helper\escape($column['task_limit']) ?>
- )
- </span>
- <?php else: ?>
- <span title="<?= t('Task count') ?>" class="task-count">
- (<span id="task-number-column-<?= $column['id'] ?>"><?= count($column['tasks']) ?></span>)
- </span>
- <?php endif ?>
- </th>
- <?php endforeach ?>
-</tr>
-<tr>
- <?php foreach ($board as $column): ?>
- <td
- id="column-<?= $column['id'] ?>"
- class="column <?= $column['task_limit'] && count($column['tasks']) > $column['task_limit'] ? 'task-limit-warning' : '' ?>"
- data-column-id="<?= $column['id'] ?>"
- data-task-limit="<?= $column['task_limit'] ?>"
- >
- <?php foreach ($column['tasks'] as $task): ?>
- <div class="task-board draggable-item task-<?= $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'] ?>"
- data-due-date="<?= $task['date_due'] ?>"
- title="<?= t('View this task') ?>">
-
- <?= Helper\template('board_task', array('task' => $task, 'categories' => $categories)) ?>
-
- </div>
- <?php endforeach ?>
- </td>
- <?php endforeach ?>
-</tr>
-</table>