summaryrefslogtreecommitdiff
path: root/app/Template/subtask/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/subtask/show.php')
-rw-r--r--app/Template/subtask/show.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php
index 686b160e..4d341f26 100644
--- a/app/Template/subtask/show.php
+++ b/app/Template/subtask/show.php
@@ -19,12 +19,11 @@
<tr>
<td><?= Helper\escape($subtask['title']) ?></td>
<td>
- <?= Helper\template('subtask/icons', array('subtask' => $subtask)) ?>
-
<?php if (! isset($not_editable)): ?>
- <?= Helper\a(Helper\escape($subtask['status_name']), 'subtask', 'toggleStatus', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
+ <?= Helper\a(trim(Helper\template('subtask/icons', array('subtask' => $subtask))) . Helper\escape($subtask['status_name']),
+ 'subtask', 'toggleStatus', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
<?php else: ?>
- <?= Helper\escape($subtask['status_name']) ?>
+ <?= Helper\template('subtask/icons', array('subtask' => $subtask)) . Helper\escape($subtask['status_name']) ?>
<?php endif ?>
</td>
<td>