2e00512741
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (push) Has been skipped
Universal: Auto Version Bump / Version Bump (push) Successful in 7s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
- XML manifests used old PLG_SYSTEM_MOKOSUITE_ / MOD_MOKOSUITE_ / COM_MOKOSUITE_ prefixes that didn't match the INI files (PLG_SYSTEM_MOKOSUITECLIENT_ etc.), causing untranslated labels in admin UI - Also fixed PLG_TASK_MOKOSUITEDEMO/SYNC and DBIP language keys - Added mokosuiteclient_monitor to auto-enable list in package install script so heartbeat registration works on fresh install
42 lines
952 B
PHP
42 lines
952 B
PHP
<?php
|
|
/**
|
|
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
*
|
|
* SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later
|
|
*
|
|
* @package MokoSuiteClient
|
|
* @subpackage Component
|
|
*/
|
|
|
|
namespace Moko\Component\MokoSuiteClient\Administrator\View\Ticketsettings;
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\Language\Text;
|
|
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
|
use Joomla\CMS\Toolbar\ToolbarHelper;
|
|
|
|
class HtmlView extends BaseHtmlView
|
|
{
|
|
protected $statuses = [];
|
|
protected $priorities = [];
|
|
|
|
public function display($tpl = null)
|
|
{
|
|
$model = $this->getModel('Tickets');
|
|
|
|
$this->statuses = $model->getStatuses();
|
|
$this->priorities = $model->getPriorities();
|
|
|
|
$this->addToolbar();
|
|
|
|
parent::display($tpl);
|
|
}
|
|
|
|
protected function addToolbar(): void
|
|
{
|
|
ToolbarHelper::title(Text::_('COM_MOKOSUITECLIENT_TICKET_SETTINGS'), 'cog');
|
|
ToolbarHelper::back('JTOOLBAR_BACK', 'index.php?option=com_mokosuiteclient&view=tickets');
|
|
}
|
|
}
|