Merge pull-request #2006
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->hook->render('template:board:task:footer', array('task' => $task)) ?>
|
||||
|
||||
<?php if ($task['score']): ?>
|
||||
<span class="task-score"><?= $this->text->e($task['score']) ?></span>
|
||||
<?php endif ?>
|
||||
|
||||
@@ -71,10 +71,14 @@
|
||||
<div class="task-board-closed"><i class="fa fa-ban fa-fw"></i><?= t('Closed') ?></div>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->hook->render('template:board:private:task:before-title', array('task' => $task)) ?>
|
||||
|
||||
<div class="task-board-title">
|
||||
<?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?>
|
||||
</div>
|
||||
|
||||
<?= $this->hook->render('template:board:private:task:after-title', array('task' => $task)) ?>
|
||||
|
||||
<?= $this->render('board/task_footer', array(
|
||||
'task' => $task,
|
||||
'not_editable' => $not_editable,
|
||||
|
||||
@@ -18,10 +18,14 @@
|
||||
<?php endif ?>
|
||||
</span>
|
||||
|
||||
<?= $this->hook->render('template:board:public:task:before-title', array('task' => $task)) ?>
|
||||
|
||||
<div class="task-board-title">
|
||||
<?= $this->url->link($this->text->e($task['title']), 'task', 'readonly', array('task_id' => $task['id'], 'token' => $project['token'])) ?>
|
||||
</div>
|
||||
|
||||
<?= $this->hook->render('template:board:public:task:after-title', array('task' => $task)) ?>
|
||||
|
||||
<?= $this->render('board/task_footer', array(
|
||||
'task' => $task,
|
||||
'not_editable' => $not_editable,
|
||||
|
||||
@@ -152,12 +152,17 @@ Template names without prefix are core templates.
|
||||
List of template hooks:
|
||||
|
||||
| Hook | Description |
|
||||
|------------------------------------------|----------------------------------------------------|
|
||||
|--------------------------------------------|----------------------------------------------------|
|
||||
| `template:analytic:sidebar` | Sidebar on analytic pages |
|
||||
| `template:app:filters-helper:before` | Filter helper dropdown (top) |
|
||||
| `template:app:filters-helper:after` | Filter helper dropdown (bottom) |
|
||||
| `template:auth:login-form:before` | Login page (top) |
|
||||
| `template:auth:login-form:after` | Login page (bottom) |
|
||||
| `template:board:private:task:before-title` | Task in private board: before title |
|
||||
| `template:board:private:task:after-title` | Task in private board: after title |
|
||||
| `template:board:public:task:before-title` | Task in public board: before title |
|
||||
| `template:board:public:task:after-title` | Task in public board: after title |
|
||||
| `template:board:task:footer` | Task in board: footer |
|
||||
| `template:config:sidebar` | Sidebar on settings page |
|
||||
| `template:config:application ` | Application settings form |
|
||||
| `template:config:integrations` | Integration page in global settings |
|
||||
|
||||
Reference in New Issue
Block a user