summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/task_footer.php12
-rw-r--r--app/Template/board/task_private.php3
2 files changed, 7 insertions, 8 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 74c1b74d..79b7c3e9 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -57,11 +57,11 @@
<?php endif ?>
<?php if (! empty($task['date_due'])): ?>
- <span class="task-board-date
+ <span class="task-date
<?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
- task-board-date-today
+ task-date-today
<?php elseif (time() > $task['date_due']): ?>
- task-board-date-overdue
+ task-date-overdue
<?php endif ?>
">
<i class="fa fa-calendar"></i>
@@ -117,9 +117,9 @@
<?php endif ?>
<?php if ($task['is_active'] == 1): ?>
- <div class="task-board-age">
- <span title="<?= t('Task age in days')?>" class="task-board-age-total"><?= $this->dt->age($task['date_creation']) ?></span>
- <span title="<?= t('Days in this column')?>" class="task-board-age-column"><?= $this->dt->age($task['date_moved']) ?></span>
+ <div class="task-icon-age">
+ <span title="<?= t('Task age in days')?>" class="task-icon-age-total"><?= $this->dt->age($task['date_creation']) ?></span>
+ <span title="<?= t('Days in this column')?>" class="task-icon-age-column"><?= $this->dt->age($task['date_moved']) ?></span>
</div>
<?php else: ?>
<span class="task-board-closed"><i class="fa fa-ban fa-fw"></i><?= t('Closed') ?></span>
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php
index 1be64fcf..c4afc0bf 100644
--- a/app/Template/board/task_private.php
+++ b/app/Template/board/task_private.php
@@ -32,6 +32,7 @@
</div>
<?php else: ?>
<div class="task-board-expanded">
+ <div class="task-board-saving-icon" style="display: none;"><i class="fa fa-spinner fa-pulse fa-2x"></i></div>
<div class="task-board-header">
<?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?= $this->render('task/dropdown', array('task' => $task)) ?>
@@ -54,8 +55,6 @@
</div>
<?= $this->hook->render('template:board:private:task:after-title', array('task' => $task)) ?>
- <div class="task-board-saving-icon" style="display: none;"><i class="fa fa-spinner fa-pulse fa-2x"></i></div>
-
<?= $this->render('board/task_footer', array(
'task' => $task,
'not_editable' => $not_editable,