{% extends "erp_base.html" %} {% block head_extra %} {% endblock %} {% block topbar_after_logout %}{% include "project/_help_btn.html" %}{% endblock %} {% block content %} {# 내 업무/프로젝트 화면과 같은 2단 레이아웃 — 좌측은 공용 사이드바, 내용은 오른쪽 프레임 안에서만 스크롤한다. #}
{% with current_pid = 0, side_active = "inbox" %}{% include "project/_side.html" %}{% endwith %}

수신함

나를 태그한 작업 {{ mention_unread }}

{% if not mentioned_tasks %}
태그된 작업이 없습니다.
{% else %}
    {% for t in mentioned_tasks %}
  • alternate_email
    {{ t.title }}
    ● {{ t.project_name }} {% if t.stage_name %} · {{ t.stage_name }}{% endif %} {% if t.due_label %} · 마감 {{ t.due_label }}{% endif %} {% if t.mention_actor %} · {% set nm = t.mention_actor.split('@')[0] %}{{ nm[:1]|upper }}{{ nm[1:] }}님이 태그{% endif %}
    확인
  • {% endfor %}
{% endif %}

알림

{% if not notifications %}
알림이 없습니다.
{% else %}
    {% for n in notifications %}
  • {% if n.type == 'assigned' %}assignment_ind {% elif n.type == 'completed' %}task_alt {% elif n.type == 'comment' %}chat_bubble {% elif n.type == 'mention' %}alternate_email {% elif n.type == 'due_soon' %}schedule {% elif n.type == 'due_today' %}today {% elif n.type == 'overdue' %}alarm {% else %}notifications{% endif %}
    {{ n.title }}
    {% if n.body %}
    {{ n.body }}
    {% endif %}
    {% if n.actor_email %}{% set nm = n.actor_email.split('@')[0] %}{{ nm[:1]|upper }}{{ nm[1:] }} · {% endif %}{{ n.created_at[:16].replace('T',' ') }}
    {% if n.project_id %} {# 작업 알림은 "확인" → 수신함에 머문 채 오른쪽에 작업 창(project.js initInboxTaskPanel) #} 확인 {% endif %}
  • {% endfor %}
{% endif %}
{% include "project/_side_modals.html" %} {% include "project/_member_tasks_modal.html" %} {% endblock %}