diff --git a/backend/templates/employees/components/employee_form_contact.html b/backend/templates/employees/components/employee_form_contact.html index fb27c979..e8aeb6b5 100644 --- a/backend/templates/employees/components/employee_form_contact.html +++ b/backend/templates/employees/components/employee_form_contact.html @@ -26,24 +26,36 @@
- + +
Для уведомлений (найдите ID через @userinfobot)
- + +
Номер телефона в формате E.164
- + +
Ваш WeChat идентификатор
diff --git a/backend/templates/employees/employee_detail.html b/backend/templates/employees/employee_detail.html index 9a610e62..b57197b5 100644 --- a/backend/templates/employees/employee_detail.html +++ b/backend/templates/employees/employee_detail.html @@ -72,6 +72,40 @@ {% endif %} + {# Быстрые действия с мессенджерами #} + {% if emp.telegram or emp.whatsapp or emp.wechat %} +
+ {% if emp.telegram %} + + + Telegram + + {% endif %} + + {% if emp.whatsapp %} + + + WhatsApp + + {% endif %} + + {% if emp.wechat %} + + {% endif %} +
+ {% endif %} +
@@ -100,9 +134,33 @@ {{ emp.phone_number }}
{% endif %} - {% if emp.telegram %}
{{ emp.telegram }}
{% endif %} - {% if emp.whatsapp %}
{{ emp.whatsapp }}
{% endif %} - {% if emp.wechat %}
{{ emp.wechat }}
{% endif %} + + {# Мессенджеры с цветными иконками и ссылками #} + {% if emp.telegram %} +
+ + + Telegram: {{ emp.telegram }} + +
+ {% endif %} + + {% if emp.whatsapp %} +
+ + + WhatsApp: {{ emp.whatsapp }} + +
+ {% endif %} + + {% if emp.wechat %} +
+ + WeChat: {{ emp.wechat }} +
+ {% endif %} + {% if not emp.email and not emp.phone_number and not emp.telegram and not emp.whatsapp and not emp.wechat %}
Контакты не указаны
{% endif %}