mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Initial commit
This commit is contained in:
45
backend/app/utils/constants.py
Normal file
45
backend/app/utils/constants.py
Normal file
@@ -0,0 +1,45 @@
|
||||
STATUS_LABELS = {
|
||||
'new': 'Новая',
|
||||
'in_progress': 'В работе',
|
||||
'resolved': 'Решена',
|
||||
'closed': 'Закрыта'
|
||||
}
|
||||
|
||||
# Priority translations and emoji
|
||||
PRIORITY_LABELS = {
|
||||
'low': 'Низкий',
|
||||
'medium': 'Средний',
|
||||
'high': 'Высокий',
|
||||
'critical': 'Критический'
|
||||
}
|
||||
|
||||
PRIORITY_EMOJI = {
|
||||
'low': '🟢',
|
||||
'medium': '🟡',
|
||||
'high': '🟠',
|
||||
'critical': '🔴'
|
||||
}
|
||||
|
||||
# Department translations
|
||||
DEPARTMENT_LABELS = {
|
||||
'aho': 'Административно-хозяйственный отдел',
|
||||
'gkh': 'Жилищно-коммунальное хозяйство',
|
||||
'general': 'Общий отдел'
|
||||
}
|
||||
|
||||
# Request type translations and emoji
|
||||
REQUEST_TYPE_LABELS = {
|
||||
'hardware': 'Проблемы с оборудованием',
|
||||
'software': 'Проблемы с ПО',
|
||||
'network': 'Проблемы с сетью',
|
||||
'access': 'Доступ к системам',
|
||||
'other': 'Другое'
|
||||
}
|
||||
|
||||
REQUEST_TYPE_EMOJI = {
|
||||
'hardware': '🖥️',
|
||||
'software': '💿',
|
||||
'network': '🌐',
|
||||
'access': '🔑',
|
||||
'other': '📝'
|
||||
}
|
Reference in New Issue
Block a user