Add new hooks for plugins
This commit is contained in:
parent
4594325726
commit
9deeaa4ef1
|
|
@ -17,6 +17,7 @@ Improvements:
|
|||
* Improve error handling of plugins
|
||||
* Use PHP7 function random_bytes() to generate tokens if available
|
||||
* CSV task export show the assignee name in addition to the assignee username
|
||||
* Add new hooks for plugins
|
||||
|
||||
Internal code refactoring:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
<div class="page-header">
|
||||
<?= $this->hook->render('template:project:header:before', array('project' => $project)) ?>
|
||||
|
||||
<div class="dropdown">
|
||||
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Actions') ?></a>
|
||||
<ul>
|
||||
|
|
@ -98,4 +100,6 @@
|
|||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
<?= $this->hook->render('template:project:header:after', array('project' => $project)) ?>
|
||||
</div>
|
||||
|
|
@ -142,7 +142,9 @@ List of template hooks:
|
|||
- `template:layout:head`
|
||||
- `template:layout:top`
|
||||
- `template:layout:bottom`
|
||||
- `template:project:dropdown`
|
||||
- `template:project:dropdown`: "Actions" menu on left in different project views
|
||||
- `template:project:header:before`
|
||||
- `template:project:header:after`
|
||||
- `template:project-user:sidebar`
|
||||
- `template:task:sidebar:information`
|
||||
- `template:task:sidebar:actions`
|
||||
|
|
|
|||
Loading…
Reference in New Issue