FE: Add devComments to columns selection #1751

This commit is contained in:
jokob-sk committed 2026-08-20 11:17:55 +10:00
1 parent 457281c0c5
commit 8ecf1ace65
25 files changed
+42 -16

No files matched your search

+2
View File
@@ -50,6 +50,7 @@ const DEVICE_COLUMN_FIELDS = [
"devPrimaryIPv4", // 31 Device_TableHead_IPv4
"devPrimaryIPv6", // 32 Device_TableHead_IPv6
"devFlapping", // 33 Device_TableHead_Flapping
"devComments", // 34 Device_TableHead_Comments
];
// Named index constants — eliminates all mapIndx(N) magic numbers.
@@ -128,6 +129,7 @@ const COLUMN_NAME_MAP = {
"Device_TableHead_IPv4": "devPrimaryIPv4",
"Device_TableHead_IPv6": "devPrimaryIPv6",
"Device_TableHead_Flapping": "devFlapping",
"Device_TableHead_Comments": "devComments",
};
console.log("init device-columns.js");
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "مخطط الاتصال",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "تنبيه عدم الاتصال",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "الأجهزة المتصلة",
"Device_TableHead_CustomProps": "خصائص مخصصة",
"Device_TableHead_FQDN": "اسم النطاق الكامل",
@@ -830,4 +831,4 @@
"settings_system_label": "نظام",
"settings_update_item_warning": "قم بتحديث القيمة أدناه. احرص على اتباع التنسيق السابق. <b>لم يتم إجراء التحقق.</b>",
"test_event_tooltip": "احفظ التغييرات أولاً قبل اختبار الإعدادات."
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Dispositius detectats",
"Device_Shortcut_Unstable": "Inestable",
"Device_TableHead_AlertDown": "Cancel·lar alerta",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Connexions",
"Device_TableHead_CustomProps": "Props / Accions",
"Device_TableHead_FQDN": "FQDN",
+4 -3
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Výskyt zařízení",
"Device_Shortcut_Unstable": "Nestabilní",
"Device_TableHead_AlertDown": "Upozornění na nedostupnost",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Spojení",
"Device_TableHead_CustomProps": "Vlastnosti / Akce",
"Device_TableHead_FQDN": "FQDN",
@@ -784,13 +785,13 @@
"device_history_empty_state": "V rámci nastaveného okna uchovávání nebyly zaznamenány změny žádné z vlastností.",
"device_history_tab_title": "Seznam změn",
"device_history_table_title_changes": "Změny",
"devices_old": "Znovunačítání…",
"gen_actions": "Akce",
"gen_content": "Obsah",
"gen_device": "Zařízení",
"gen_level": "Stupeň",
"gen_read": "Číst",
"gen_timestamp": "Časové razítko",
"devices_old": "Znovunačítání…",
"gen_device": "Zařízení",
"general_event_description": "Událost kterou jste spustili může zabrat delší dobu, než budou procesy na pozadí dokončeny. Vykonávání skončilo jakmile se níže uvedená fronta vykonávání vyprázdní (pokud narazíte na problémy, podívejte se do <a href='/maintenance.php#tab_Logging'>záznamu chyb</a>). <br/> <br/> Fronta vykonávání:",
"general_event_title": "Vykonávání jednorázové události",
"go_to_device_event_tooltip": "Přejít na zařízení",
@@ -830,4 +831,4 @@
"settings_system_label": "Systém",
"settings_update_item_warning": "Zaktualizujte níže uvedenou hodnotu. Dávejte pozor, ať je dodržen předchozí formát. <b>Ověřování správnosti není prováděno.</b>",
"test_event_tooltip": "Než budete svá nastavení zkoušet, nejprve vámi provedené změny uložte."
}
}
+2 -1
View File
@@ -237,6 +237,7 @@
"Device_Shortcut_OnlineChart": "Gerätepräsenz im Laufe der Zeit",
"Device_Shortcut_Unstable": "Instabil",
"Device_TableHead_AlertDown": "Alarm aus",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Verbindungen",
"Device_TableHead_CustomProps": "Eigenschaften / Aktionen",
"Device_TableHead_FQDN": "FQDN",
@@ -903,4 +904,4 @@
"settings_system_label": "System",
"settings_update_item_warning": "",
"test_event_tooltip": "Speichere die Änderungen, bevor Sie die Einstellungen testen."
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Device presence",
"Device_Shortcut_Unstable": "Unstable",
"Device_TableHead_AlertDown": "Alert Down",
"Device_TableHead_Comments": "Comments",
"Device_TableHead_Connected_Devices": "Connections",
"Device_TableHead_CustomProps": "Props / Actions",
"Device_TableHead_FQDN": "FQDN",
+2 -1
View File
@@ -235,6 +235,7 @@
"Device_Shortcut_OnlineChart": "Presencia del dispositivo a lo largo del tiempo",
"Device_Shortcut_Unstable": "Inestable",
"Device_TableHead_AlertDown": "Alerta desactivada",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Conexiones",
"Device_TableHead_CustomProps": "Propiedades / Acciones",
"Device_TableHead_FQDN": "FQDN",
@@ -901,4 +902,4 @@
"settings_system_label": "Sistema",
"settings_update_item_warning": "Actualice el valor a continuación. Tenga cuidado de seguir el formato anterior. <b>O la validación no se realiza.</b>",
"test_event_tooltip": "Guarda tus cambios antes de probar nuevos ajustes."
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Présence de l'appareil",
"Device_Shortcut_Unstable": "Instable",
"Device_TableHead_AlertDown": "Alerter si En panne",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Connexions",
"Device_TableHead_CustomProps": "Champs / Actions",
"Device_TableHead_FQDN": "Nom de domaine FQDN",
@@ -830,4 +831,4 @@
"settings_system_label": "Système",
"settings_update_item_warning": "Mettre à jour la valeur ci-dessous. Veillez à bien suivre le même format qu'auparavant. <b>Il n'y a pas de pas de contrôle.</b>",
"test_event_tooltip": "Enregistrer d'abord vos modifications avant de tester vôtre paramétrage."
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Presenza dispositivo",
"Device_Shortcut_Unstable": "Instabile",
"Device_TableHead_AlertDown": "Avviso disconnessione",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Connessioni",
"Device_TableHead_CustomProps": "Proprietà/Azioni",
"Device_TableHead_FQDN": "FQDN",
@@ -830,4 +831,4 @@
"settings_system_label": "Sistema",
"settings_update_item_warning": "Aggiorna il valore qui sotto. Fai attenzione a seguire il formato precedente. <b>La convalida non viene eseguita.</b>",
"test_event_tooltip": "Salva le modifiche prima di provare le nuove impostazioni."
}
}
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "デバイス検出",
"Device_Shortcut_Unstable": "不安定",
"Device_TableHead_AlertDown": "ダウンアラート",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "接続",
"Device_TableHead_CustomProps": "属性 / アクション",
"Device_TableHead_FQDN": "FQDN",
@@ -830,4 +831,4 @@
"settings_system_label": "システム",
"settings_update_item_warning": "以下の値を更新してください。以前のフォーマットに従うよう注意してください。<b>検証は行われません。</b>",
"test_event_tooltip": "設定をテストする前に、まず変更を保存してください。"
}
}
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Enhetens tilstedeværelse",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Tilkoblinger",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
@@ -830,4 +831,4 @@
"settings_system_label": "System",
"settings_update_item_warning": "Oppdater verdien nedenfor. Pass på å følge forrige format. <b>Validering etterpå utføres ikke.</b>",
"test_event_tooltip": "Lagre endringene først, før du tester innstillingene dine."
}
}
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Obecność urządzenia",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "Alert niedostępny",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Połączenia",
"Device_TableHead_CustomProps": "Właściwości / Akcje",
"Device_TableHead_FQDN": "FQDN",
@@ -830,4 +831,4 @@
"settings_system_label": "System",
"settings_update_item_warning": "Zaktualizuj wartość poniżej. Uważaj, aby zachować poprzedni format. <b>Walidacja nie jest wykonywana.</b>",
"test_event_tooltip": "Najpierw zapisz swoje zmiany, zanim przetestujesz ustawienia."
}
}
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Presença do dispositivo",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "Alerta em baixo",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Conexões",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
@@ -830,4 +831,4 @@
"settings_system_label": "",
"settings_update_item_warning": "",
"test_event_tooltip": "Guarde as alterações antes de testar as definições."
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Presença do dispositivo",
"Device_Shortcut_Unstable": "Instável",
"Device_TableHead_AlertDown": "Alerta em baixo",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Conexões",
"Device_TableHead_CustomProps": "Propriedades / Ações",
"Device_TableHead_FQDN": "FQDN",
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Присутствие устройств",
"Device_Shortcut_Unstable": "Нестабильный",
"Device_TableHead_AlertDown": "Оповещение о сост. ВЫКЛ",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Соединения",
"Device_TableHead_CustomProps": "Свойства / Действия",
"Device_TableHead_FQDN": "FQDN",
@@ -830,4 +831,4 @@
"settings_system_label": "Система",
"settings_update_item_warning": "Обновить значение ниже. Будьте осторожны, следуя предыдущему формату. <b>Проверка не выполняется.</b>",
"test_event_tooltip": "Сначала сохраните изменения, прежде чем проверять настройки."
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Cihaz Durumu",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "Çalışmama Alarmı",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Bağlantılar",
"Device_TableHead_CustomProps": "Özellikler / Eylemler",
"Device_TableHead_FQDN": "",
@@ -830,4 +831,4 @@
"settings_system_label": "Sistem",
"settings_update_item_warning": "",
"test_event_tooltip": ""
}
}
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "Наявність пристрою",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "Агент Вниз",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "Зв'язки",
"Device_TableHead_CustomProps": "Реквізит / дії",
"Device_TableHead_FQDN": "FQDN",
+1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "",
"Device_TableHead_CustomProps": "",
"Device_TableHead_FQDN": "",
+2 -1
View File
@@ -233,6 +233,7 @@
"Device_Shortcut_OnlineChart": "设备统计",
"Device_Shortcut_Unstable": "",
"Device_TableHead_AlertDown": "提醒宕机",
"Device_TableHead_Comments": "",
"Device_TableHead_Connected_Devices": "链接",
"Device_TableHead_CustomProps": "属性",
"Device_TableHead_FQDN": "FQDN",
@@ -830,4 +831,4 @@
"settings_system_label": "系统",
"settings_update_item_warning": "更新下面的值。请注意遵循先前的格式。<b>未执行验证。</b>",
"test_event_tooltip": "在测试设置之前,请先保存更改。"
}
}
+2 -1
View File
@@ -446,7 +446,8 @@
"Device_TableHead_Vlan",
"Device_TableHead_IPv4",
"Device_TableHead_IPv6",
"Device_TableHead_Flapping"
"Device_TableHead_Flapping",
"Device_TableHead_Comments"
],
"localized": ["name", "description"],
"name": [