summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Template/board/table_column.php5
-rw-r--r--doc/en_US/plugin-hooks.markdown2
2 files changed, 7 insertions, 0 deletions
diff --git a/app/Template/board/table_column.php b/app/Template/board/table_column.php
index c2d6b9fc..9d2815ff 100644
--- a/app/Template/board/table_column.php
+++ b/app/Template/board/table_column.php
@@ -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)) ?>
diff --git a/doc/en_US/plugin-hooks.markdown b/doc/en_US/plugin-hooks.markdown
index 23750ff7..dedea934 100644
--- a/doc/en_US/plugin-hooks.markdown
+++ b/doc/en_US/plugin-hooks.markdown
@@ -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 |