-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlugin.php
More file actions
27 lines (24 loc) · 1.57 KB
/
Plugin.php
File metadata and controls
27 lines (24 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
namespace Kanboard\Plugin\SimplifyTheme;
use Kanboard\Core\Plugin\Base;
class Plugin extends Base
{
public function initialize()
{
$this->hook->on('template:layout:css', array('template' => 'plugins/SimplifyTheme/simplifytheme.css'));
$this->template->setTemplateOverride('board/task_private', 'SimplifyTheme:board/task_private');
$this->template->setTemplateOverride('board/task_footer', 'SimplifyTheme:board/task_footer');
$this->template->setTemplateOverride('board/table_tasks', 'SimplifyTheme:board/table_tasks');
$this->template->setTemplateOverride('board/table_column', 'SimplifyTheme:board/table_column');
$this->template->setTemplateOverride('task/show', 'SimplifyTheme:task/show');
$this->template->setTemplateOverride('task/sidebar', 'SimplifyTheme:task/sidebar');
$this->template->setTemplateOverride('task/details', 'SimplifyTheme:task/details');
$this->template->setTemplateOverride('project_header/views', 'SimplifyTheme:project_header/views');
$this->template->setTemplateOverride('project_header/header', 'SimplifyTheme:project_header/header');
$this->template->setTemplateOverride('task_creation/show', 'SimplifyTheme:task_creation/show');
}
public function getPluginName() { return 'SimplifyTheme'; }
public function getPluginAuthor() { return 'Samgarr'; }
public function getPluginVersion() { return '0.1'; }
public function getPluginDescription() { return 'Goal is simplify Kanboard UI and streamline transition from Trello to Kanboard.'; }
}