Merge pull request #3075

Added hooks before and after the column header row
This commit is contained in:
Frédéric Guillot 2017-02-26 09:10:24 -05:00 committed by GitHub
commit 28b9d6cdf1
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,7 @@
<!-- column titles -->
<?= $this->hook->render('template:board:table:column:before-header-row', array('swimlane' => $swimlane)) ?>
<tr class="board-swimlane-columns-<?= $swimlane['id'] ?>">
<?php foreach ($swimlane['columns'] as $column): ?>
<th class="board-column-header board-column-header-<?= $column['id'] ?>" data-column-id="<?= $column['id'] ?>">
@ -89,3 +92,5 @@
</th>
<?php endforeach ?>
</tr>
<?= $this->hook->render('template:board:table:column:after-header-row', array('swimlane' => $swimlane)) ?>

View File

@ -201,6 +201,8 @@ List of template hooks:
| `template:board:public:task:after-title` | Task in public board: after title |
| `template:board:task:footer` | Task in board: footer |
| `template:board:task:icons` | Task in board: tooltip icon |
| `template:board:table:column:before-header-row` | Row before board column header |
| `template:board:table:column:after-header-row` | Row after board column header |
| `template:board:column:dropdown` | Dropdown menu in board columns |
| `template:board:column:header` | Board column header |
| `template:board:tooltip:subtasks:header:before-assignee` | Header of Subtask table on tootip before Assignee |