SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 3f47d520 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Debug `MailLogRelation`

parent 4353992a
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.5 on 2021-11-10 16:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mails', '0006_auto_20190220_1633'),
]
operations = [
migrations.AlterField(
model_name='maillogrelation',
name='value',
field=models.TextField(blank=True),
),
]
...@@ -73,7 +73,7 @@ class MailLogRelation(models.Model): ...@@ -73,7 +73,7 @@ class MailLogRelation(models.Model):
mail = models.ForeignKey('mails.MailLog', on_delete=models.CASCADE, related_name='context') mail = models.ForeignKey('mails.MailLog', on_delete=models.CASCADE, related_name='context')
name = models.CharField(max_length=254) name = models.CharField(max_length=254)
value = models.CharField(max_length=254, blank=True) value = models.TextField(blank=True)
content_type = models.ForeignKey(ContentType, blank=True, null=True, on_delete=models.CASCADE) content_type = models.ForeignKey(ContentType, blank=True, null=True, on_delete=models.CASCADE)
object_id = models.PositiveIntegerField(blank=True, null=True) object_id = models.PositiveIntegerField(blank=True, null=True)
......
...@@ -4,12 +4,16 @@ ...@@ -4,12 +4,16 @@
<p>by {{ object.author_list }}</p> <p>by {{ object.author_list }}</p>
<p>has unfortunately not passed the pre-screening stage.</p> <p>has unfortunately not passed the pre-screening stage.</p>
{% if message_for_authors %} {% if message_for_authors %}
{{ message_for_authors|linebreaks }} <p>You will find more details in the "message for authors" below.</p>
{% endif %} {% endif %}
<p>In view of this, we are unable to proceed further with the handling of your manuscript. We hope you can easily find an alternative publishing venue.</p> <p>In view of this, we are unable to proceed further with the handling of your manuscript. We hope you can easily find an alternative publishing venue.</p>
<p>Despite this unsuccessful outcome, we thank you very much for your contribution, and hope to be able to be of service to you in the future.</p> <p>Despite this unsuccessful outcome, we thank you very much for your contribution, and hope to be able to be of service to you in the future.</p>
<p>Sincerely,</p> <p>Sincerely,</p>
<p>The SciPost Team.</p> <p>The SciPost Team.</p>
{% if message_for_authors %}
<h4>Message for authors</h4>
{{ message_for_authors|linebreaks }}
{% endif %}
{% include 'email/_footer.html' %} {% include 'email/_footer.html' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment