Mail links

* adds direct object links into mail templates
* refactors transferring app-model identification data from fore- to background (celery) properly
This commit is contained in:
2023-12-11 13:40:32 +01:00
parent 11bbf7d9ec
commit 8cdea88756
22 changed files with 107 additions and 34 deletions

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been checked' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>{{obj.title}}</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been checked' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>{{obj.title}}</strong>
<br>

View File

@@ -10,6 +10,7 @@
<br>
{% translate 'a deduction of this eco account has changed:' %}
<br>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<table>
<tr>

View File

@@ -10,6 +10,7 @@
<br>
{% translate 'a deduction of this eco account has changed:' %}
<br>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<table>
<tr>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been recorded' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been recorded' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been unrecorded' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been unrecorded' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

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

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been shared with you' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><h4>{{obj.identifier}}</h4></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'the following dataset has just been shared with your team' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'your shared access, including editing, has been revoked for the dataset ' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>

View File

@@ -10,7 +10,7 @@
<br>
{% trans 'your teams shared access, including editing, has been revoked for the dataset ' %}
<br>
<strong>{{obj.identifier}}</strong>
<a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
<br>
<strong>"{{obj.title}}"</strong>
<br>