Skip to content

Commit

Permalink
Update Plugin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros authored Nov 28, 2018
1 parent f3b3ffe commit a8cfe55
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ class Plugin extends Base
{
public function initialize()
{
$this->template->setTemplateOverride('board/table_column', 'removeSwimlaneDetails:board/table_column');
$this->template->setTemplateOverride('config/board', 'removeSwimlaneDetails:config/board');
$this->template->hook->attach('template:config:board', 'removeSwimlaneDetails:config/toggle', array('hide_swimlane_tcounts' => $this->configModel->get('hide_swimlane_tcounts')));
$this->template->hook->attach('template:config:board', 'removeSwimlaneDetails:config/toggle');

if ($this->configModel->get('hide_swimlane_tcounts', '2') == 1) { $this->template->setTemplateOverride('board/table_column', 'removeSwimlaneDetails:board/table_column'); }

}
public function getPluginName()
{
Expand Down

0 comments on commit a8cfe55

Please sign in to comment.