Skip to content

Commit e6737f0

Browse files
authored
add latest hooks from kanboard
* add latest hooks * fix unit tests
1 parent fcd0d3a commit e6737f0

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
language: php
22
sudo: false
33

4+
services:
5+
- postgresql
6+
- mysql
7+
48
php:
9+
- 7.3
510
- 7.2
611

712
env:
@@ -27,4 +32,4 @@ before_script:
2732
- ls -la plugins/
2833

2934
script:
30-
- phpunit -c tests/units.$DB.xml plugins/$PLUGIN/Test/
35+
- ./vendor/bin/phpunit -c tests/units.$DB.xml plugins/$PLUGIN/Test/

Template/task_creation/show.php

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
</div>
4040

4141
<div class="task-form-bottom">
42+
43+
<?= $this->hook->render('template:task:form:bottom-before-buttons', array('values' => $values, 'errors' => $errors)) ?>
44+
4245
<?php if (! isset($duplicate)): ?>
4346
<?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
4447
<?= $this->form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1) ?>

Template/task_modification/show.php

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
</div>
3838

3939
<div class="task-form-bottom">
40+
41+
<?= $this->hook->render('template:task:form:bottom-before-buttons', array('values' => $values, 'errors' => $errors)) ?>
42+
4043
<?= $this->modal->submitButtons() ?>
4144
</div>
4245
</div>

0 commit comments

Comments
 (0)