OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
27
app/Views/Composers/Footer.php
Normal file
27
app/Views/Composers/Footer.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Views\Composers;
|
||||
|
||||
use Leantime\Core\Configuration\AppSettings;
|
||||
use Leantime\Core\UI\Composer;
|
||||
|
||||
class Footer extends Composer
|
||||
{
|
||||
public static array $views = [
|
||||
'global::sections.footer',
|
||||
];
|
||||
|
||||
protected AppSettings $settings;
|
||||
|
||||
public function init(AppSettings $settings): void
|
||||
{
|
||||
$this->settings = $settings;
|
||||
}
|
||||
|
||||
public function with(): array
|
||||
{
|
||||
return [
|
||||
'version' => $this->settings->appVersion,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user