- Added departments ManyToMany field to Document model - Implemented department selection in document create/edit modals - Added automatic notification creation for all department employees - Fixed document filtering to include uploaded documents in 'My Documents' - Fixed acknowledgements API to include department recipients - Added bulk notification support with configurable threshold - Removed acknowledge button, added visual highlighting for unread documents - Implemented server-side acknowledgment flow with redirect to file - Fixed mobile responsive layout for document actions - Removed temporary test files and documentation
24 lines
930 B
Plaintext
24 lines
930 B
Plaintext
{{ site_name }} - {{ digest_name }} дайджест
|
||
{{ '=' * 60 }}
|
||
|
||
У вас {{ total_count }} {% if total_count == 1 %}новое уведомление{% elif total_count < 5 %}новых уведомления{% else %}новых уведомлений{% endif %}
|
||
|
||
{% for category_code, notifs in grouped_notifications.items %}
|
||
{{ category_icons|get_item:category_code }} {{ notifs.0.notification_type.category.name }} ({{ notifs|length }})
|
||
{{ '-' * 60 }}
|
||
|
||
{% for notification in notifs %}
|
||
• {{ notification.title }}
|
||
{{ notification.message|truncatewords:30 }}
|
||
{{ notification.created_at|date:"d.m.Y H:i" }}
|
||
{% if notification.action_url %}→ {{ site_url }}{{ notification.action_url }}{% endif %}
|
||
|
||
{% endfor %}
|
||
{% endfor %}
|
||
|
||
---
|
||
Посмотреть все уведомления: {{ site_url }}/notifications/
|
||
|
||
Управление уведомлениями: {{ site_url }}/notifications/settings/
|
||
{{ site_url }}
|