template_map = {COMMENT_TASK: {'text': gettext('<span class="text-xs">{related.source.fund_name} #{related.source.application_id}</span><br>{related.user} assigned you a comment: <q class="text-fg-muted italic align-bottom">{msg}</q>'), 'icon': 'chat-bubble-left-ellipsis', 'url': '{link}', 'type': gettext('Comment')}, SUBMISSION_DRAFT: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>A draft application <span class="truncate inline-block max-w-32 align-bottom ">"{related.title}"</span> is waiting to be submitted'), 'icon': 'chat-bubble-left-ellipsis', 'url': '{link}', 'type': gettext('Draft')}, DETERMINATION_DRAFT: {'text': gettext('<span class="text-xs">{related.submission.fund_name} #{related.submission.application_id}</span><br>Determination draft for submission <span class="truncate inline-block max-w-32 align-bottom">"{related.submission.title}"</span> is waiting to be submitted'), 'icon': 'pencil-square', 'url': '{link}', 'type': gettext('Draft')}, REVIEW_DRAFT: {'text': gettext('<span class="text-xs">{related.submission.fund_name} #{related.submission.application_id}</span><br>Review draft for submission <span class="truncate inline-block max-w-32 align-bottom">"{related.submission.title}"</span> is waiting to be submitted'), 'icon': 'pencil-square', 'url': '{link}', 'type': gettext('Draft')}, PROJECT_WAITING_PF: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project is waiting for project form'), 'icon': 'clipboard-document-list', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_SOW: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project is waiting for scope of work'), 'icon': 'clipboard-document-list', 'url': '{link}', 'type': gettext('project')}, PROJECT_SUBMIT_PAF: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project is waiting for project form(s) submission'), 'icon': 'clipboard-document-list', 'url': '{link}', 'type': gettext('project')}, PAF_REQUIRED_CHANGES: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project form requires changes or more information'), 'icon': 'clipboard-document-list', 'url': '{link}', 'type': gettext('project')}, PAF_WAITING_ASSIGNEE: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project form is waiting for assignee'), 'icon': 'clipboard-document-list', 'url': '{link}', 'type': gettext('project')}, PAF_WAITING_APPROVAL: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br> Project form is waiting for your approval'), 'icon': 'clipboard-document-list', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_CONTRACT: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project is waiting for contract'), 'icon': 'document-duplicate', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_CONTRACT_DOCUMENT: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Project is waiting for contracting documents'), 'icon': 'arrow-down-on-square', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_CONTRACT_REVIEW: {'text': gettext('<span class="text-xs">{related.fund_name} #{related.application_id}</span><br>Contract for project is waiting for review'), 'icon': 'document-duplicate', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_INVOICE: {'text': gettext('<span class="text-sm">{related.fund_name} #{related.application_id}</span><br>Project <span class="truncate inline-block max-w-32 align-bottom">"{related.title}"</span> is waiting for invoice'), 'icon': 'document-currency-dollar', 'url': '{link}', 'type': gettext('project')}, INVOICE_REQUIRED_CHANGES: {'text': gettext("<span class='text-xs'>{related.project.fund_name} #{related.project.application_id}</span><br>Invoice no. {related.invoice_number} required changes or more information"), 'icon': 'document-currency-dollar', 'url': '{link}', 'type': gettext('project')}, INVOICE_WAITING_APPROVAL: {'text': gettext("<span class='text-xs'>{related.project.fund_name} #{related.project.application_id}</span><br>Invoice no. {related.invoice_number} is waiting for your approval"), 'icon': 'document-currency-dollar', 'url': '{link}', 'type': gettext('project')}, INVOICE_WAITING_PAID: {'text': gettext("<span class='text-xs'>{related.project.fund_name} #{related.project.application_id}</span><br>Invoice no. {related.invoice_number} is waiting to be paid"), 'icon': 'document-currency-dollar', 'url': '{link}', 'type': gettext('project')}, REPORT_DUE: {'text': gettext('<span class="text-xs">{related.project.fund_name} #{related.project.application_id}</span><br>Report for project <span class="truncate inline-block max-w-32 align-bottom ">"{related.project.title}"</span> is due'), 'icon': 'document-text', 'url': '{link}', 'type': gettext('project')}}