FinanceBuddy: shell v0.2 -- rename off Skeleton, drop demo files

This commit is contained in:
2026-07-07 16:28:09 -03:00
parent 2d5c6a1377
commit 01af36d8c1
7 changed files with 51 additions and 71 deletions

View File

@@ -1,6 +1,6 @@
<?php
namespace Kanboard\Plugin\Skeleton;
namespace Kanboard\Plugin\FinanceBuddy;
use Kanboard\Core\Plugin\Base;
@@ -8,28 +8,21 @@ class Plugin extends Base
{
public function initialize()
{
// 1. Render a visible word at the top of every page (the demo output).
$this->template->hook->attach('template:layout:top', 'skeleton:layout/header');
// 2. Load the plugin stylesheet (currently empty -- proves the CSS hook fires).
// Plugin stylesheet. Empty for now; the money badge and per-column total styling
// are added as those features land in later versions.
$this->hook->on('template:layout:css', array(
'template' => 'plugins/Skeleton/Asset/css/skeleton.css',
));
// 3. Load the plugin script (currently empty -- proves the JS hook fires).
$this->hook->on('template:layout:js', array(
'template' => 'plugins/Skeleton/Asset/js/skeleton.js',
'template' => 'plugins/FinanceBuddy/Asset/css/finance.css',
));
}
public function getPluginName()
{
return 'Skeleton';
return 'FinanceBuddy';
}
public function getPluginDescription()
{
return t('Reusable skeleton/template for building Kanboard plugins.');
return t('Attach a money value (debit/credit and installments) to board cards, shown on the card and totalled per column. Opt-in per board.');
}
public function getPluginAuthor()
@@ -39,12 +32,12 @@ class Plugin extends Base
public function getPluginVersion()
{
return '0.1.0';
return '0.2.0';
}
public function getPluginHomepage()
{
return 'https://code.beco.cc/beco/kanboard-plugin-skeleton';
return 'https://code.beco.cc/beco/FinanceBuddy';
}
public function getCompatibleVersion()