-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f5ee0b
commit a909cfd
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
dojo/templates/notifications/msteams/engagement_closed.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{% load i18n %} | ||
{% load display_tags %} | ||
{ | ||
"@context": "https://schema.org/extensions", | ||
"@type": "MessageCard", | ||
"title": "{% trans "Engagement closed" %}", | ||
"summary": "{% trans "Engagement closed" %}", | ||
"sections": [ | ||
{ | ||
"activityTitle": "DefectDojo", | ||
"activityImage": "https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/master/dojo/static/dojo/img/chop.png", | ||
"text": "{% trans "An engagement has been closed" %}.", | ||
"facts": [ | ||
{ | ||
"name": "{% trans "Product" %}:", | ||
"value": "{{ engagement.product.name }}" | ||
}, | ||
{ | ||
"name": "{% trans "Engagement" %}:", | ||
"value": "{{ engagement.name }}" | ||
} | ||
] | ||
} | ||
{% if system_settings.disclaimer and system_settings.disclaimer.strip %} | ||
,{ | ||
"activityTitle": "{% trans "Disclaimer" %}", | ||
"text": "{{ system_settings.disclaimer }}" | ||
} | ||
{% endif %} | ||
|
||
], | ||
"potentialAction": [ | ||
{ | ||
"@type": "OpenUri", | ||
"name": "{% trans "View Engagement" %}", | ||
"targets": [ | ||
{ | ||
"os": "default", | ||
"uri": "{{ url|full_url }}" | ||
} | ||
] | ||
} | ||
] | ||
} |