FinanceBuddy: card money badge on line 3 (v0.3.1)
This commit is contained in:
@@ -28,6 +28,11 @@ class Plugin extends Base
|
||||
$this->hook->on('model:task:creation:prepare', array($persistence, 'onCreationPrepare'));
|
||||
$this->hook->on('model:task:creation:aftersave', array($persistence, 'onCreationAfterSave'));
|
||||
$this->hook->on('model:task:modification:prepare', array($persistence, 'onModificationPrepare'));
|
||||
|
||||
// The line-3 money badge on each board card, rendered directly under the title. Two hooks:
|
||||
// "private" is the normal board, "public" is the read-only board shared by token.
|
||||
$this->template->hook->attach('template:board:private:task:after-title', 'financeBuddy:board/task_money');
|
||||
$this->template->hook->attach('template:board:public:task:after-title', 'financeBuddy:board/task_money');
|
||||
}
|
||||
|
||||
public function getHelpers()
|
||||
@@ -54,7 +59,7 @@ class Plugin extends Base
|
||||
|
||||
public function getPluginVersion()
|
||||
{
|
||||
return '0.3.0';
|
||||
return '0.3.1';
|
||||
}
|
||||
|
||||
public function getPluginHomepage()
|
||||
|
||||
Reference in New Issue
Block a user