diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-11-21 23:01:17 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-11-21 23:01:17 -0500 |
commit | d3cb436eb55224ccaa3b4a6e526e28a59fc3add4 (patch) | |
tree | ffda0efb8e0545d1dd99d339f7d85534c863b6ac /app/Template/task | |
parent | 8976f4d15c151afaf2249c526c6a42463e98f491 (diff) |
Rewrite external task view component in vanilla javascript
Diffstat (limited to 'app/Template/task')
-rw-r--r-- | app/Template/task/details.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/task/details.php b/app/Template/task/details.php index 8d22af52..202991d2 100644 --- a/app/Template/task/details.php +++ b/app/Template/task/details.php @@ -161,7 +161,9 @@ </div> <?php if (! empty($task['external_uri']) && ! empty($task['external_provider'])): ?> - <external-task-view url="<?= $this->url->href('ExternalTaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>"></external-task-view> + <?= $this->app->component('external-task-view', array( + 'url' => $this->url->href('ExternalTaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])), + )) ?> <?php endif ?> <?php if ($editable && empty($task['date_started'])): ?> |