summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-08 14:57:00 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-08 14:57:00 -0800
commit4d7aa5e301c69bdc0cdd7ecc45c45daa6b455eb1 (patch)
tree18f59aeeb2f376381ca0c1a8624820509f56fe78
parentcafbd1f5a7e60d931e4dbd700b12e5f50319340d (diff)
Move position of start/due date in task details
-rw-r--r--app/Template/task/details.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index 3b4d4b38..cf305743 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -92,12 +92,6 @@
<span><?= $this->text->e($task['creator_name'] ?: $task['creator_username']) ?></span>
</li>
<?php endif ?>
- <?php if ($task['date_due']): ?>
- <li>
- <strong><?= t('Due date:') ?></strong>
- <span><?= $this->dt->datetime($task['date_due']) ?></span>
- </li>
- <?php endif ?>
<?php if ($task['time_estimated']): ?>
<li>
<strong><?= t('Time estimated:') ?></strong>
@@ -116,6 +110,18 @@
</div>
<div class="task-summary-column">
<ul class="no-bullet">
+ <?php if ($task['date_due']): ?>
+ <li>
+ <strong><?= t('Due date:') ?></strong>
+ <span><?= $this->dt->datetime($task['date_due']) ?></span>
+ </li>
+ <?php endif ?>
+ <?php if ($task['date_started']): ?>
+ <li>
+ <strong><?= t('Started:') ?></strong>
+ <span><?= $this->dt->datetime($task['date_started']) ?></span>
+ </li>
+ <?php endif ?>
<li>
<strong><?= t('Created:') ?></strong>
<span><?= $this->dt->datetime($task['date_creation']) ?></span>
@@ -130,12 +136,6 @@
<span><?= $this->dt->datetime($task['date_completed']) ?></span>
</li>
<?php endif ?>
- <?php if ($task['date_started']): ?>
- <li>
- <strong><?= t('Started:') ?></strong>
- <span><?= $this->dt->datetime($task['date_started']) ?></span>
- </li>
- <?php endif ?>
<?php if ($task['date_moved']): ?>
<li>
<strong><?= t('Moved:') ?></strong>