Skip to content
Open
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
8 changes: 6 additions & 2 deletions taiga/base/templates/emails/base-body-html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ Copyright (c) 2021-present Kaleidos INC
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{{ _("Taiga") }}</title>
{% trans product_name=sr("product_name") %}
<title>{{ product_name }}</title>
{% endtrans %}
<style type="text/css">
/* /\/\/\/\/\/\/\/\/ CLIENT-SPECIFIC STYLES /\/\/\/\/\/\/\/\/ */
#outlook a{padding:0;} /* Force Outlook to provide a "view in browser" message */
Expand Down Expand Up @@ -347,7 +349,9 @@ Copyright (c) 2021-present Kaleidos INC
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader" style="background-color: #008AA8">
<tr>
<td valign="top" class="headerContent">
<a href="{{ resolve_front_url("home") }}" class="brand" title="Taiga">
{% trans product_name=sr("product_name") %}
<a href="{{ resolve_front_url("home") }}" class="brand" title="{{ product_name }}">
{% endtrans %}
<img src="{{ static("emails/logo-web.png") }}" />
</a>
</td>
Expand Down
6 changes: 3 additions & 3 deletions taiga/base/templates/emails/hero-body-html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ Copyright (c) 2021-present Kaleidos INC
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader">
<tr>
<td valign="top" class="headerContent" style="background-color: #008AA8;">
<a href="{{ resolve_front_url("home") }}" title="Taiga">
<img src="{{ static("emails/logo.png") }}" id="headerImage" alt="Taiga" />
</a>
{% trans product_name=sr("product_name") %}
<a href="{{ resolve_front_url("home") }}" title="{{ product_name}}">
<img src="{{ static("emails/logo.png") }}" id="headerImage" alt="{{ product_name }}" />
</a>
<p>Welcome to {{ product_name }}, an Open Source, Agile Project Management Tool</p>
{% endtrans %}
</td>
Expand Down
6 changes: 3 additions & 3 deletions taiga/base/templates/emails/includes/footer.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ width="100%" id="templateFooter">
<tr>
<td valign="top">
{% block footer %}
{% trans unsubscribe_url=resolve_front_url("settings-mail-notifications"), support_url=sr("support.url"), support_email=sr("support.email") %}
{% trans unsubscribe_url=resolve_front_url("settings-mail-notifications"), support_url=sr("support.url"), support_email=sr("support.email"), product_name=sr("product_name") %}
<a href="{{ unsubscribe_url }}">Configure email notifications or unsubscribe</a>
&nbsp;&bull;&nbsp;
<a href="{{ support_url }}">Taiga Support</a>
<a href="{{ support_url }}">{{ product_name }} Support</a>
&nbsp;&bull;&nbsp;
<a href="mailto:{{ support_email }}" >Contact us</a>
{% endtrans %}
Expand All @@ -34,4 +34,4 @@ width="100%" id="templateFooter">
{% endblock %}
</tr>
</table>
<!-- // END FOOTER -->
<!-- // END FOOTER -->
4 changes: 3 additions & 1 deletion taiga/base/templates/emails/updates-body-html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ Copyright (c) 2021-present Kaleidos INC
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader" style="background-color: #008AA8">
<tr>
<td valign="top" class="headerContent">
<a href="{{ resolve_front_url("home") }}" class="brand" title="Taiga">
{% trans product_name=sr("product_name") %}
<a href="{{ resolve_front_url("home") }}" class="brand" title="{{ product_name }}">
{% endtrans %}
<img src="{{ static("emails/logo-web.png") }}" />
</a>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Copyright (c) 2021-present Kaleidos INC
{% extends "emails/base-body-html.jinja" %}

{% block body %}
{% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name %}
{% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name, product_name=sr("product_name") %}
<h1>{{ error_message }}</h1>
<p>Hello {{ user }},</p>
<p>Your project {{ project }} has not been exported correctly.</p>
<p>The Taiga system administrators have been informed.<br/> Please, try it again or contact with the support team at
<p>The {{ product_name }} system administrators have been informed.<br/> Please, try it again or contact with the support team at
<a href="mailto:{{ support_email }}" title="Support email" style="color: #83EEDE">{{ support_email }}</a></p>
<p><small>{{ signature }}</small></p>
{% endtrans %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2021-present Kaleidos INC
#}

{% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name %}
{% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name, product_name=sr("product_name") %}
Hello {{ user }},

{{ error_message }}
Your project {{ project }} has not been exported correctly.

The Taiga system administrators have been informed.
The {{ product_name}} system administrators have been informed.

Please, try it again or contact with the support team at {{ support_email }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Copyright (c) 2021-present Kaleidos INC
{% extends "emails/base-body-html.jinja" %}

{% block body %}
{% trans full_name=feedback_entry.full_name, email=feedback_entry.email %}
{% trans full_name=feedback_entry.full_name, email=feedback_entry.email, product_name=sr("product_name") %}

<h1>Feedback</h1>
<p>Taiga has received feedback from {{ full_name }} <{{ email }}></p>
<p>{{ product_name }} has received feedback from {{ full_name }} <{{ email }}></p>
{% endtrans %}

{% trans comment=feedback_entry.comment|linebreaksbr %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2021-present Kaleidos INC
#}

{% trans full_name=feedback_entry.full_name|safe, email=feedback_entry.email|safe %}
[Taiga] Feedback from {{ full_name }} <{{ email }}>
{% trans full_name=feedback_entry.full_name|safe, email=feedback_entry.email|safe, product_name=sr("product_name") %}
[{{ product_name }}] Feedback from {{ full_name }} <{{ email }}>
{% endtrans %}
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Copyright (c) 2021-present Kaleidos INC
<hr>

<p>
{% trans project_name=project_name, project_settings_url=project_settings_url %}
You are receiving this message because you are listed as administrator of the project titled {{ project_name }}. If you don't want members of the Taiga community contacting your project, please <a href="{{ project_settings_url }}">update your project settings</a> to prevent such contacts. Regular communications amongst members of the project will not be affected.
{% trans project_name=project_name, project_settings_url=project_settings_url, product_name=sr("product_name") %}
You are receiving this message because you are listed as administrator of the project titled {{ project_name }}. If you don't want members of the {{ product_name }} community contacting your project, please <a href="{{ project_settings_url }}">update your project settings</a> to prevent such contacts. Regular communications amongst members of the project will not be affected.
{% endtrans %}
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Copyright (c) 2021-present Kaleidos INC
---------
{{ comment }}
---------
{% trans project_name=project_name %}
You are receiving this message because you are listed as administrator of the project titled {{ project_name }}. If you don't want members of the Taiga community contacting your project, please update your project settings in {{ project_settings_url }} to prevent such contacts. Regular communications amongst members of the project will not be affected.
{% trans project_name=project_name, product_name=sr("product_name") %}
You are receiving this message because you are listed as administrator of the project titled {{ project_name }}. If you don't want members of the {{ product_name}} community contacting your project, please update your project settings in {{ project_settings_url }} to prevent such contacts. Regular communications amongst members of the project will not be affected.
{% endtrans %}

{% trans signature=sr("signature") %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2021-present Kaleidos INC
#}

{% trans full_name=full_name|safe, project_name=project_name|safe %}
[Taiga] {{ full_name }} has sent a message to the project {{ project_name }}
{% trans full_name=full_name|safe, project_name=project_name|safe, product_name=sr("product_name") %}
[{{ product_name }}] {{ full_name }} has sent a message to the project {{ project_name }}
{% endtrans %}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Copyright (c) 2021-present Kaleidos INC
{% block body %}
{% trans full_name=sender_full_name, project=membership.project, product_name=sr("product_name") %}
<h2>You have been invited to {{ product_name }}!</h2>
<p>Hi! {{ full_name }} has sent you an invitation to join project <em>{{ project }}</em> in {{ product_name }}.</br> Taiga is an Open Source Agile Project Management Tool. There is no cost for you to be a Taiga user.</p>
<p>Hi! {{ full_name }} has sent you an invitation to join project <em>{{ project }}</em> in {{ product_name }}.</br> {{ product_name }} is an Open Source Agile Project Management Tool. There is no cost for you to be a {{ product_name }} user.</p>
{% endtrans %}

{% if membership.invitation_extra_text %}
Expand All @@ -29,7 +29,7 @@ Copyright (c) 2021-present Kaleidos INC
{% endif %}

<a class="button" href="{{ resolve_front_url("invitation", membership.token) }}"
title="{{ _("Accept your invitation to Taiga") }}">{{ _("Accept your invitation") }}</a>
title="{{ _("Accept your invitation") }}">{{ _("Accept your invitation") }}</a>
{% trans signature=sr("signature") %}
<p><small>{{ signature }}</small></p>
{% endtrans %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Copyright (c) 2021-present Kaleidos INC
You, or someone you know, has invited you to {{ product_name }}

Hi! {{ full_name }} has sent you an invitation to join a project called {{ project }} in {{ product_name }}.
Taiga is an Open Source Agile Project Management Tool. There is no cost for you to be a Taiga user.
{{ product_name }} is an Open Source Agile Project Management Tool. There is no cost for you to be a {{ product_name }} user.

{% endtrans %}
{% if membership.invitation_extra_text %}
Expand All @@ -25,7 +25,7 @@ And now a few words from the jolly good fellow or sistren who thought so kindly
{{ extra }}
{% endtrans %}
{% endif %}
{{ _("Accept your invitation to Taiga following this link:") }}
{{ _("Accept your invitation by following this link:") }}
{{ resolve_front_url("invitation", membership.token) }}

{% trans signature=sr("signature") %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2021-present Kaleidos INC
#}

{% trans project=membership.project|safe %}
[Taiga] Invitation to join to the project '{{ project }}'
{% trans project=membership.project|safe, product_name=sr("product_name") %}
[{{ product_name }}] Invitation to join to the project '{{ project }}'
{% endtrans %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2021-present Kaleidos INC
#}

{% trans project=membership.project|safe %}
[Taiga] Added to the project '{{ project }}'
{% trans project=membership.project|safe, product_name=sr("product_name") %}
[{{ product_name }}] Added to the project '{{ project }}'
{% endtrans %}