Merge pull-request #2051

This commit is contained in:
Frederic Guillot 2016-03-25 18:22:26 -04:00
commit c5fc56894e
2 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,8 @@
<?php if (! isset($duplicate)): ?>
<?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
<?php endif ?>
<?= $this->hook->render('template:task:form:left-column', array('values'=>$values, 'errors'=>$errors)) ?>
</div>
<div class="form-column">
@ -48,4 +50,4 @@
<button type="submit" class="btn btn-blue" tabindex="15"><?= t('Save') ?></button>
<?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?>
</div>
</form>
</form>

View File

@ -179,6 +179,7 @@ List of template hooks:
| `template:project-user:sidebar` | Sidebar on project user overview page |
| `template:task:dropdown` | Task dropdown menu in listing pages |
| `template:task:sidebar` | Sidebar on task page |
| `template:task:form:left-column` | Left column in task form |
| `template:task:form:right-column` | Right column in task form |
| `template:task:show:top ` | Show task page: top |
| `template:task:show:bottom` | Show task page: bottom |