Merge pull-request #1392
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
<?php if (! empty($subtasks)): ?>
|
|
||||||
|
|
||||||
<?php $first_position = $subtasks[0]['position']; ?>
|
<?php $first_position = $subtasks[0]['position']; ?>
|
||||||
<?php $last_position = $subtasks[count($subtasks) - 1]['position']; ?>
|
<?php $last_position = $subtasks[count($subtasks) - 1]['position']; ?>
|
||||||
|
|
||||||
@@ -9,6 +7,7 @@
|
|||||||
<h2><?= t('Sub-Tasks') ?></h2>
|
<h2><?= t('Sub-Tasks') ?></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if (! empty($subtasks)): ?>
|
||||||
<table class="subtasks-table">
|
<table class="subtasks-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-40"><?= t('Title') ?></th>
|
<th class="column-40"><?= t('Title') ?></th>
|
||||||
@@ -86,6 +85,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</table>
|
</table>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if (! isset($not_editable)): ?>
|
<?php if (! isset($not_editable)): ?>
|
||||||
<form method="post" action="<?= $this->url->href('subtask', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
|
<form method="post" action="<?= $this->url->href('subtask', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
|
||||||
@@ -99,4 +99,3 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user