refactor languages module to domain/controller and release 0.254 update package

This commit is contained in:
2026-02-12 22:10:37 +01:00
parent c1284ef06c
commit 95c5fda989
22 changed files with 1190 additions and 490 deletions

View File

@@ -23,11 +23,11 @@ $isCompactColumn = function(array $column): bool {
$key = strtolower(trim((string)($column['key'] ?? '')));
$label = strtolower(trim((string)($column['label'] ?? '')));
if (in_array($key, ['status', 'active', 'enabled', 'is_active'], true)) {
if (in_array($key, ['status', 'active', 'enabled', 'is_active', 'start', 'default'], true)) {
return true;
}
if (in_array($label, ['status', 'aktywny', 'aktywnosc', 'active'], true)) {
if (in_array($label, ['status', 'aktywny', 'aktywnosc', 'active', 'domyslny', 'domyślny', 'default'], true)) {
return true;
}
@@ -277,9 +277,9 @@ $isCompactColumn = function(array $column): bool {
}
.js-table-filters-form .js-filter-compact-select {
width: auto;
min-width: 110px;
max-width: 140px;
width: 100%;
min-width: 0;
max-width: none;
}
.table-list-table th.table-col-compact,