template_map = {COMMENT_TASK: {'text': gettext('{msg}'), 'icon': 'comment', 'url': '{link}', 'type': gettext('Comment')}, SUBMISSION_DRAFT: {'text': gettext('A Submission draft [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting to be submitted'), 'icon': 'comment', 'url': '{link}', 'type': gettext('Draft')}, DETERMINATION_DRAFT: {'text': gettext('Determination draft for submission [<span class="truncate inline-block max-w-32 align-bottom ">{related.submission.title}</span>]({link} "{related.submission.title}") is waiting to be submitted'), 'icon': 'edit-draft', 'url': '{link}', 'type': gettext('Draft')}, REVIEW_DRAFT: {'text': gettext('Review draft for submission [<span class="truncate inline-block max-w-32 align-bottom ">{related.submission.title}</span>]({link} "{related.submission.title}") is waiting to be submitted'), 'icon': 'edit-draft', 'url': '{link}', 'type': gettext('Draft')}, PROJECT_WAITING_PAF: {'text': gettext('Project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for project form'), 'icon': 'dashboard-paf', 'url': '{link}', 'type': gettext('project')}, PROJECT_SUBMIT_PAF: {'text': gettext('Project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for project form submission'), 'icon': 'dashboard-paf', 'url': '{link}', 'type': gettext('project')}, PAF_REQUIRED_CHANGES: {'text': gettext('Project form for project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") required changes or more information'), 'icon': 'dashboard-paf', 'url': '{link}', 'type': gettext('project')}, PAF_WAITING_ASSIGNEE: {'text': gettext('Project form for project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for assignee'), 'icon': 'dashboard-paf', 'url': '{link}', 'type': gettext('project')}, PAF_WAITING_APPROVAL: {'text': gettext('Project form for project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for your approval'), 'icon': 'dashboard-paf', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_CONTRACT: {'text': gettext('Project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for contract'), 'icon': 'dashboard-contract', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_CONTRACT_DOCUMENT: {'text': gettext('Project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for contracting documents'), 'icon': 'dashboard-document', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_CONTRACT_REVIEW: {'text': gettext('Contract for project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for review'), 'icon': 'dashboard-contract', 'url': '{link}', 'type': gettext('project')}, PROJECT_WAITING_INVOICE: {'text': gettext('Project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is waiting for invoice'), 'icon': 'dashboard-invoice', 'url': '{link}', 'type': gettext('project')}, INVOICE_REQUIRED_CHANGES: {'text': gettext('Invoice [{related.invoice_number}]({link}) required changes or more information'), 'icon': 'dashboard-invoice', 'url': '{link}', 'type': gettext('project')}, INVOICE_WAITING_APPROVAL: {'text': gettext('Invoice [{related.invoice_number}]({link}) is waiting for your approval'), 'icon': 'dashboard-invoice', 'url': '{link}', 'type': gettext('project')}, INVOICE_WAITING_PAID: {'text': gettext('Invoice [{related.invoice_number}]({link}) is waiting to be paid'), 'icon': 'dashboard-invoice', 'url': '{link}', 'type': gettext('project')}, REPORT_DUE: {'text': gettext('Report for project [<span class="truncate inline-block max-w-32 align-bottom ">{related.title}</span>]({link} "{related.title}") is due'), 'icon': 'dashboard-report', 'url': '{link}', 'type': gettext('project')}}