Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/templates/emails/base_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
background-color: #ffffff;
}
.header_img {
width: 40%;
width: 100%;
height: 100%;
object-fit: contain;
box-sizing: border-box;
}
.header {
width: 100%;
Expand All @@ -31,6 +34,8 @@
justify-content: center;
align-items: center;
margin-bottom: 10px;
padding: 10px;
box-sizing: border-box;
}
.content{
padding: 20px;
Expand Down Expand Up @@ -105,13 +110,13 @@ <h3>Hello{% if user %} {{ user.username }}{% endif %},</h3>
<p>Thanks,</p>
<p>Codabench Team</p>
<div class = "header">
<img class = "header_img" src = "../../static/img/codabench.png" alt = "codabench_logo" />
<img class = "header_img" src = "https://www.codabench.org/static/img/codabench.png" alt = "Codabench Logo" />
</div>
</div>
{% endif %}
</div>
<div id="footer">
<p><a href="http://{{ site.domain }}">Unsubscribe or manage notification settings</a> | <a href="https://github.com/codalab/codalab-competitions/wiki/Privacy">Privacy policy</a></p>
<p><a href="https://github.com/codalab/codalab-competitions/wiki/Privacy">Privacy policy</a></p>
</div>
</div>
</body>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you that user {{ participant.user.username }} has been accepted into your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.You can manage all participants from the admin panel of your competition.</p>
<p>
User <strong>{{ participant.user.username }}</strong> has been accepted into your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.
<br>
You can manage all participants from the admin panel of your competition.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you that user {{ participant.user.username }} has been accepted into your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.You can manage all participants from the admin panel of your competition.</p>
<p>
User <strong>{{ participant.user.username }}</strong> has been accepted into your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.
<br>
You can manage all participants from the admin panel of your competition.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you that user {{ participant.user.username }} has been denied to your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.You can manage all participants from the admin panel of your competition.</p>
<p>
A user <strong>{{ participant.user.username }}</strong> has been denied access to your competition.
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.
<br>
You can manage all participants from the admin panel of your competition.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you that user {{ participant.user.username }} has been denied to your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.You can manage all participants from the admin panel of your competition.</p>
<p>
A user <strong>{{ participant.user.username }}</strong> has been denied access to your competition.
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.
<br>
You can manage all participants from the admin panel of your competition.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you that user {{ participant.user.username }} has requested access to your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.You can manage all participants from the admin panel of your competition.</p>
<p>
A user <strong>{{ participant.user.username }}</strong> has requested access to your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.
<br>
You can manage all participants from the admin panel of your competition.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you that user {{ participant.user.username }} has requested access to your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.You can manage all participants from the admin panel of your competition.</p>
<p>
A user <strong>{{ participant.user.username }}</strong> has requested access to your competition
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>.
<br>
You can manage all participants from the admin panel of your competition.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're thrilled to inform you that your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition has been <b>accepted</b>. Get ready to showcase your skills and compete with other talented individuals.</p>
<p>We look forward to seeing your participation.</p>
<p>
Your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition has been <b>accepted</b>. Get ready to showcase your skills and compete with other talented individuals.
</p>
{% endblock %}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're thrilled to inform you that your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition has been <b>accepted</b>. Get ready to showcase your skills and compete with other talented individuals.</p>
<p>We look forward to seeing your participation.</p>
<p>
Your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition has been <b>accepted</b>. Get ready to showcase your skills and compete with other talented individuals.
</p>
{% endblock %}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you about your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition. While your application was carefully considered, we regret to inform you that your participation privileges
have been denied. We encourage you to review the competition details and rules to see if there are areas where you can
improve your application for future competitions. </p>
<p>Thank you for your interest in the competition. We wish you the best of luck in your future endeavors.
<p>
Your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition has been denied. You can reach out to the organizing team for more details.
</p>

{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>We're writing to inform you about your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition. While your application was carefully considered, we regret to inform you that your participation privileges
have been denied. We encourage you to review the competition details and rules to see if there are areas where you can
improve your application for future competitions. </p>
<p>Thank you for your interest in the competition. We wish you the best of luck in your future endeavors.
<p>
Your application for the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition has been denied. You can reach out to the organizing team for more details.
</p>

{% endblock %}


Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{% extends 'emails/base_email.html' %}

{% block title %}
<p>This is a message from the organizer for the competition:</p>
<a href="http://{{ site.domain }}{{ competition.get_absolute_url }}">{{ competition }}</a>

<p>
This is a message from the organizer for the competition:
<a href="http://{{ site.domain }}{{ competition.get_absolute_url }}">{{ competition }}</a>
</p>
<br><br>
{% endblock %}

{% block content %}
<h3>Message:</h3>
<pre>{{ body }}</pre>
<pre>{{ body }}</pre>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{% extends 'emails/base_email.txt' %}

{% block title %}
This is a message from the organizer for the competition:
{{ competition }} -> http://{{ site.domain }}{{ competition.get_absolute_url }}
<p>
This is a message from the organizer for the competition:
<a href="http://{{ site.domain }}{{ competition.get_absolute_url }}">{{ competition }}</a>
</p>
<br><br>
{% endblock %}

{% block content %}
Message:
{{ body }}
<h3>Message:</h3>
<pre>{{ body }}</pre>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>Thanks for your interest in the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition. We have received your request to participate.</p>

<p>We will carefully review your application and notify you by email regarding your participation status (accepted or denied).
In the meantime, you can review the competition details and rules to familiarize yourself with the challenge. </p>

<p>We look forward to your participation!</p>
<p>
Thank you for your interest in the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition. We have received your request to participate.
</p>
<p>
We will carefully review your application and notify you by email regarding your participation status (accepted or denied).
In the meantime, you can review the competition details and rules to familiarize yourself with the challenge.
</p>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{% extends 'emails/base_email.html' %}

{% block content %}
<p>Thanks for your interest in the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition. We have received your request to participate.</p>

<p>We will carefully review your application and notify you by email regarding your participation status (accepted or denied).
In the meantime, you can review the competition details and rules to familiarize yourself with the challenge. </p>

<p>We look forward to your participation!</p>
<p>
Thank you for your interest in the
<a href="http://{{ site.domain }}{{ participant.competition.get_absolute_url }}">{{ participant.competition.title }}</a>
competition. We have received your request to participate.
</p>
<p>
We will carefully review your application and notify you by email regarding your participation status (accepted or denied).
In the meantime, you can review the competition details and rules to familiarize yourself with the challenge.
</p>
{% endblock %}