Игорь Надеин 35f365a1b0 feat: Add department-based document distribution with department picker in UI
- 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
2025-11-21 12:46:43 +03:00

24 lines
517 B
Plaintext

{{ site_name }} - {{ category_name }}
{{ notification.title }}
{{ '=' * 60 }}
{{ notification.message }}
{% if notification.metadata %}
---
{% for key, value in notification.metadata.items %}
{{ key }}: {{ value }}
{% endfor %}
{% endif %}
{% if action_url %}
{{ action_text }}: {{ action_url }}
{% endif %}
---
Это автоматическое уведомление от системы {{ site_name }}.
Управление уведомлениями: {{ site_url }}/notifications/settings/
{{ site_url }}