-
Notifications
You must be signed in to change notification settings - Fork 43
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
Showing
35 changed files
with
462 additions
and
72 deletions.
There are no files selected for viewing
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
16 changes: 14 additions & 2 deletions
16
backend-project/small_eod/cases/templates/cases/email/case_created.html
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 |
---|---|---|
@@ -1,2 +1,14 @@ | ||
<p>Case create</p>> | ||
<p>Case create</p> | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Utworzono nową sprawę - {{instance.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>W systemie small_eod pojawiła się nowa sprawa.</p> | ||
|
||
<p> | ||
Sprawa: {{instance.name}}<br/> | ||
Utworzył: {{instance.created_by}}<br/> | ||
Data utworzenia: {{instance.created_on}}<br/> | ||
</p> | ||
{% endblock %} |
14 changes: 12 additions & 2 deletions
14
backend-project/small_eod/cases/templates/cases/email/case_created.txt
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 |
---|---|---|
@@ -1,2 +1,12 @@ | ||
Case create | ||
Case create | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Utworzono nową sprawę - {{instance.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
W systemie small_eod pojawiła się nowa sprawa. | ||
|
||
Sprawa: {{instance.name}} | ||
Utworzył: {{instance.created_by}} | ||
Data utworzenia: {{instance.created_on}} | ||
{% endblock %} |
2 changes: 0 additions & 2 deletions
2
backend-project/small_eod/cases/templates/cases/email/case_removed
This file was deleted.
Oops, something went wrong.
10 changes: 8 additions & 2 deletions
10
backend-project/small_eod/cases/templates/cases/email/case_removed.html
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 |
---|---|---|
@@ -1,2 +1,8 @@ | ||
<p>Case removed</p> | ||
<p>Case removed</p> | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Zamknięto sprawę - {{instance.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>{{instance.modified_by}} zamknął obserwowaną przez ciebie sprawę - {{instance.name}}</p> | ||
{% endblock %} |
8 changes: 8 additions & 0 deletions
8
backend-project/small_eod/cases/templates/cases/email/case_removed.txt
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,8 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Zamknięto sprawę - {{instance.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{{instance.modified_by}} zamknął obserwowaną przez ciebie sprawę - {{instance.name}} | ||
{% endblock %} |
16 changes: 14 additions & 2 deletions
16
backend-project/small_eod/cases/templates/cases/email/case_updated.html
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 |
---|---|---|
@@ -1,2 +1,14 @@ | ||
<p>Case updated</p> | ||
<p>Case updated</p> | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Zaktualizowano sprawę - {{instance.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>{{modified_by}} dokonał zmian w obserwowanej przez ciebie sprawie - {{instance.name}}.</p> | ||
|
||
<p> | ||
Sprawa: {{instance.name}}<br/> | ||
Zmodyfikował: {{instance.modified_by}}<br/> | ||
Data modyfikacji: {{instance.modified_on}}<br/> | ||
</p> | ||
{% endblock %} |
13 changes: 11 additions & 2 deletions
13
backend-project/small_eod/cases/templates/cases/email/case_updated.txt
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 |
---|---|---|
@@ -1,2 +1,11 @@ | ||
Case update | ||
Case update | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Zaktualizowano sprawę - {{instance.name}} | ||
{% endblock %} | ||
{% block content %} | ||
{{instance.modified_by}} dokonał zmian w obserwowanej przez ciebie sprawie - {{instance.name}}. | ||
|
||
Sprawa: {{instance.name}} | ||
Zmodyfikował: {{instance.modified_by}} | ||
Data modyfikacji: {{instance.modified_on}} | ||
{% endblock %} |
16 changes: 16 additions & 0 deletions
16
backend-project/small_eod/events/templates/events/email/event_created.html
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,16 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Nowe wydarzenie w sprawie - {{instance.case.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>{{instance.created_by}} utworzył nowe wydarzenie - {{instance.name}}.</p> | ||
|
||
<p> | ||
Wydarzenie: {{instance.name}}<br/> | ||
Dotyczy: {{instance.case.name}}<br/> | ||
Zaplanowano na: {{instance.date}}<br/> | ||
Utworzył: {{instance.created_by}}<br/> | ||
Data utworzenia: {{instance.created_on}}<br/> | ||
</p> | ||
{% endblock %} |
15 changes: 15 additions & 0 deletions
15
backend-project/small_eod/events/templates/events/email/event_created.txt
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,15 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Utworzono nowe wydarzenie w sprawie - {{instance.case.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{{instance.created_by}} utworzył nowe wydarzenie - {{instance.name}}. | ||
|
||
|
||
Wydarzenie: {{instance.name}} | ||
Dotyczy: {{instance.case.name}} | ||
Zaplanowano na: {{instance.date}} | ||
Utworzył: {{instance.created_by}} | ||
Data utworzenia: {{instance.created_on}} | ||
{% endblock %} |
13 changes: 13 additions & 0 deletions
13
backend-project/small_eod/events/templates/events/email/event_removed.html
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,13 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Usunięto wydarzenie - {{instance.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>Usunięto zaplanowane wydarzenie - {{instance.name}}</p> | ||
|
||
<p> | ||
Wydarzenie: {{instance.name}}<br/> | ||
Dotyczy: {{instance.case.name}}<br/> | ||
</p> | ||
{% endblock %} |
11 changes: 11 additions & 0 deletions
11
backend-project/small_eod/events/templates/events/email/event_removed.txt
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,11 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Usunięto wydarzenie - {{instance.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
Usunięto zaplanowane wydarzenie - {{instance.name}} | ||
|
||
Wydarzenie: {{instance.name}} | ||
Dotyczy: {{instance.case.name}} | ||
{% endblock %} |
16 changes: 16 additions & 0 deletions
16
backend-project/small_eod/events/templates/events/email/event_updated.html
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,16 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Zaktualizowano wydarzenie - {{instance.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>{{instance.modified_by}} dokonał zmian w zaplanowanym wydarzeniu - {{instance.name}}</p> | ||
|
||
<p> | ||
Wydarzenie: {{instance.name}}<br/> | ||
Dotyczy: {{instance.case.name}}<br/> | ||
Zmodyfikował: {{instance.modified_by}}<br/> | ||
Data modyfikacji: {{instance.modified_on}}<br/> | ||
</p> | ||
|
||
{% endblock %} |
14 changes: 14 additions & 0 deletions
14
backend-project/small_eod/events/templates/events/email/event_updated.txt
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,14 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Zaktualizowano wydarzenie - {{instance.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{{instance.modified_by}} dokonał zmian w zaplanowanym wydarzeniu - {{instance.name}} | ||
|
||
|
||
Wydarzenie: {{instance.name}} | ||
Dotyczy: {{instance.case.name}} | ||
Zmodyfikował: {{instance.modified_by}} | ||
Data modyfikacji: {{instance.modified_on}} | ||
{% endblock %} |
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
18 changes: 18 additions & 0 deletions
18
backend-project/small_eod/letters/templates/letters/email/letter_created.html
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,18 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Nowa wiadomość w sprawie - {{instance.case.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{% if instance.direction == "received" %} | ||
<p>Otrzymano nową wiadomość - {{instance.reference_number}} - dotyczącą obserwowanej przez ciebie sprawy - {{instance.case.name}}</p> | ||
This comment has been minimized.
Sorry, something went wrong.
ad-m
Member
|
||
{% else %} | ||
<p>Wysłano wiadomość - {{instance.reference_number}} - w sprawie - {{instance.case.name}}</p> | ||
{% endif %} | ||
|
||
<p> | ||
Dotyczy: {{instance.case.name}}<br/> | ||
Utworzył: {{instance.created_by}}<br/> | ||
Data utworzenia: {{instance.created_on}}<br/> | ||
</p> | ||
{% endblock %} |
17 changes: 17 additions & 0 deletions
17
backend-project/small_eod/letters/templates/letters/email/letter_created.txt
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,17 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Nowa wiadomość w sprawie - {{instance.case.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{% if instance.direction == "received" %} | ||
Otrzymano nową wiadomość - {{instance.reference_number}} - dotyczącą obserwowanej przez ciebie sprawy - {{instance.case.name}} | ||
{% else %} | ||
Wysłano wiadomość - {{instance.reference_number}} - w sprawie - {{instance.case.name}} | ||
{% endif %} | ||
|
||
|
||
Dotyczy: {{instance.case.name}} | ||
Utworzył: {{instance.created_by}} | ||
Data utworzenia: {{instance.created_on}} | ||
{% endblock %} |
8 changes: 8 additions & 0 deletions
8
backend-project/small_eod/letters/templates/letters/email/letter_removed.html
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,8 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Usunięto wiadomość - {{instance.reference_number}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>Usunięto wiadomość - {{instance.reference_number}} - dotyczącą obserwowanej przez ciebie sprawy - {{instance.case.name}}.</p> | ||
{% endblock %} |
8 changes: 8 additions & 0 deletions
8
backend-project/small_eod/letters/templates/letters/email/letter_removed.txt
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,8 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Usunięto wiadomość - {{instance.reference_number}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
Usunięto wiadomość - {{instance.reference_number}} - dotyczącą obserwowanej przez ciebie sprawy - {{instance.case.name}}. | ||
{% endblock %} |
14 changes: 14 additions & 0 deletions
14
backend-project/small_eod/letters/templates/letters/email/letter_updated.html
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,14 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Zmodyfikowano wiadomość - {{instance.reference_number}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>{{instance.modified_by}} dokonał zmian w wiadomości - {{instance.reference_number}}.</p> | ||
|
||
<p> | ||
Dotyczy: {{instance.case.name}}<br/> | ||
Zmodyfikował: {{instance.modified_by}}<br/> | ||
Data modyfikacji: {{instance.modified_on}}<br/> | ||
</p> | ||
{% endblock %} |
12 changes: 12 additions & 0 deletions
12
backend-project/small_eod/letters/templates/letters/email/letter_updated.txt
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,12 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Zmodyfikowano wiadomość - {{instance.reference_number}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{{instance.modified_by}} dokonał zmian w wiadomości - {{instance.reference_number}}. | ||
|
||
Dotyczy: {{instance.case.name}} | ||
Zmodyfikował: {{instance.modified_by}} | ||
Data modyfikacji: {{instance.modified_on}} | ||
{% endblock %} |
15 changes: 15 additions & 0 deletions
15
backend-project/small_eod/notes/templates/notes/email/note_created.html
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,15 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Dodano notatkę do sprawy - {{case}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>{{instance.created_by}} dodał nową notatkę do sprawy - {{instance.case.name}}</p> | ||
|
||
<p> | ||
Dotyczy: {{instance.case.name}}<br/> | ||
Utworzył: {{instance.created_by}}<br/> | ||
Data utworzenia: {{instance.created_on}}<br/> | ||
Treść: {{instance.comment}}<br/> | ||
</p> | ||
{% endblock %} |
13 changes: 13 additions & 0 deletions
13
backend-project/small_eod/notes/templates/notes/email/note_created.txt
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,13 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Dodano notatkę do sprawy - {{case}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{{instance.created_by}} dodał nową notatkę do sprawy - {{instance.case.name}} | ||
|
||
Dotyczy: {{instance.case.name}} | ||
Utworzył: {{instance.created_by}} | ||
Data utworzenia: {{instance.created_on}} | ||
Treść: {{instance.comment}} | ||
{% endblock %} |
8 changes: 8 additions & 0 deletions
8
backend-project/small_eod/notes/templates/notes/email/note_removed.html
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,8 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Usunięto notatkę dotyczącą sprawy - {{instance.case.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p>Usunięto notatkę dotyczącą obserwowanej przez ciebie sprawy - {{instance.case.name}}</p> | ||
{% endblock %} |
8 changes: 8 additions & 0 deletions
8
backend-project/small_eod/notes/templates/notes/email/note_removed.txt
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,8 @@ | ||
{% extends "notifications/email/mail_base.txt" %} | ||
{% block subject %} | ||
Usunięto notatkę dotyczącą sprawy - {{instance.case.name}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
Usunięto notatkę dotyczącą obserwowanej przez ciebie sprawy - {{instance.case.name}} | ||
{% endblock %} |
16 changes: 16 additions & 0 deletions
16
backend-project/small_eod/notes/templates/notes/email/note_updated.html
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,16 @@ | ||
{% extends "notifications/email/mail_base.html" %} | ||
{% block subject %} | ||
<p>Zaktualizowano notatkę dotyczącą sprawy - {{instance.case.name}}</p> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<p>{{instance.modified_by}} dokonał zmian w notatce dotyczącej obserwowanej przez ciebie sprawy - {{instance.case.name}}.</p> | ||
|
||
<p> | ||
Sprawa: {{instance.case.name}}<br/> | ||
Zmieniona przez: {{instance.modified_by}}<br/> | ||
Data modyfikacji: {{instance.midofied_on}}<br/> | ||
Treść: {{instance.comment}}<br/> | ||
</p> | ||
{% endblock %} |
Oops, something went wrong.
Czy możesz testować, że te wiadomości, które masz są faktycznie tymi wiadomości, których oczekuejsz np. przez dodanie nagłówka z rodzajem wiadomości, a potem policzeniem tylko wiadomości, które są określonego rodzaju?