Object mailing restructred

* restructures object info mail sending
This commit is contained in:
2023-12-11 12:06:33 +01:00
parent 75ab281799
commit 743bb320d7
21 changed files with 196 additions and 224 deletions

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data checked' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{user.username}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been checked' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>{{obj_title}}</strong>
<strong>{{obj.title}}</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data checked' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been checked' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>{{obj_title}}</strong>
<strong>{{obj.title}}</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data deleted' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{user.username}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been deleted' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data deleted' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been deleted' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% translate 'Deduction changed' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% translate 'Hello ' %} {{user.username}},

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% translate 'Deduction changed' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data recorded' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{user.username}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been recorded' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data recorded' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been recorded' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data unrecorded' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{user.username}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been unrecorded' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared data unrecorded' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been unrecorded' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Resubmission' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{resubmission.user.username}},

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Access shared' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{user.username}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been shared with you' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Access shared' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},
@@ -10,9 +10,9 @@
<br>
{% trans 'the following dataset has just been shared with your team' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared access removed' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello ' %} {{user.username}},
@@ -10,9 +10,9 @@
<br>
{% trans 'your shared access, including editing, has been revoked for the dataset ' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}

View File

@@ -2,7 +2,7 @@
<div>
<h2>{% trans 'Shared access removed' %}</h2>
<h4>{{obj_identifier}}</h4>
<h4>{{obj.identifier}}</h4>
<hr>
<article>
{% trans 'Hello team' %} {{team.name}},
@@ -10,9 +10,9 @@
<br>
{% trans 'your teams shared access, including editing, has been revoked for the dataset ' %}
<br>
<strong>{{obj_identifier}}</strong>
<strong>{{obj.identifier}}</strong>
<br>
<strong>"{{obj_title}}"</strong>
<strong>"{{obj.title}}"</strong>
<br>
<br>
{% trans 'This entry is located in' %}