Do not refresh the whole page when changing subtask status (work in progress)

This commit is contained in:
Frederic Guillot
2016-02-04 21:38:53 -05:00
parent 346151e103
commit 0f2b46dd6a
21 changed files with 243 additions and 254 deletions

View File

@@ -1,7 +1,12 @@
<section id="tooltip-subtasks">
<table class="table-stripped">
<?php foreach ($subtasks as $subtask): ?>
<?= $this->subtask->toggleStatus($subtask, 'board', $task['project_id']) ?>
<?= $this->e(empty($subtask['username']) ? '' : ' ['.$this->user->getFullname($subtask).']') ?>
<br>
<tr>
<td class="column-80">
<?= $this->subtask->toggleStatus($subtask, $task['project_id']) ?>
</td>
<td>
<?= $this->e($subtask['username'] ?: $this->user->getFullname($subtask)) ?>
</td>
</tr>
<?php endforeach ?>
</section>
</table>