Merge pull request #678 from taigaio/issue/3995/remove_safe_filter_in_emails

Fix issue #3995: remove safe filter in emails to escape the content o…
remotes/origin/issue/4795/notification_even_they_are_disabled
Jesús Espino 2016-03-30 17:12:36 +02:00
commit c80d165b6f
61 changed files with 61 additions and 61 deletions

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, project=project.name|safe, url=url, deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %} {% trans user=user.get_full_name(), project=project.name, url=url, deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %}
<h1>Project dump generated</h1> <h1>Project dump generated</h1>
<p>Hello {{ user }},</p> <p>Hello {{ user }},</p>
<h3>Your dump from project {{ project }} has been correctly generated.</h3> <h3>Your dump from project {{ project }} has been correctly generated.</h3>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, project=project.name|safe, url=url, deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %} {% trans user=user.get_full_name(), project=project.name, url=url, deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %}
Hello {{ user }}, Hello {{ user }},
Your dump from project {{ project }} has been correctly generated. You can download it here: Your dump from project {{ project }} has been correctly generated. You can download it here:

View File

@ -1 +1 @@
{% trans project=project.name|safe %}[{{ project }}] Your project dump has been generated{% endtrans %} {% trans project=project.name %}[{{ project }}] Your project dump has been generated{% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, error_message=error_message, support_email=sr("support.email"), project=project.name|safe %} {% trans user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name %}
<h1>{{ error_message }}</h1> <h1>{{ error_message }}</h1>
<p>Hello {{ user }},</p> <p>Hello {{ user }},</p>
<p>Your project {{ project }} has not been exported correctly.</p> <p>Your project {{ project }} has not been exported correctly.</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, error_message=error_message, support_email=sr("support.email"), project=project.name|safe %} {% trans user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name %}
Hello {{ user }}, Hello {{ user }},
{{ error_message }} {{ error_message }}

View File

@ -1 +1 @@
{% trans error_subject=error_subject, project=project.name|safe %}[{{ project }}] {{ error_subject }}{% endtrans %} {% trans error_subject=error_subject, project=project.name %}[{{ project }}] {{ error_subject }}{% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, error_message=error_message, support_email=sr("support.email") %} {% trans user=user.get_full_name(), error_message=error_message, support_email=sr("support.email") %}
<h1>{{ error_message }}</h1> <h1>{{ error_message }}</h1>
<p>Hello {{ user }},</p> <p>Hello {{ user }},</p>
<p>Your project has not been importer correctly.</p> <p>Your project has not been importer correctly.</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, error_message=error_message, support_email=sr("support.email") %} {% trans user=user.get_full_name(), error_message=error_message, support_email=sr("support.email") %}
Hello {{ user }}, Hello {{ user }},
{{ error_message }} {{ error_message }}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, url=resolve_front_url("project", project.slug), project=project.name|safe %} {% trans user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %}
<h1>Project dump imported</h1> <h1>Project dump imported</h1>
<p>Hello {{ user }},</p> <p>Hello {{ user }},</p>
<h3>Your project dump has been correctly imported.</h3> <h3>Your project dump has been correctly imported.</h3>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, url=resolve_front_url("project", project.slug), project=project.name|safe %} {% trans user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %}
Hello {{ user }}, Hello {{ user }},
Your project dump has been correctly imported. Your project dump has been correctly imported.

View File

@ -1 +1 @@
{% trans project=project.name|safe %}[{{ project }}] Your project dump has been imported{% endtrans %} {% trans project=project.name %}[{{ project }}] Your project dump has been imported{% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans full_name=feedback_entry.full_name|safe, email=feedback_entry.email %} {% trans full_name=feedback_entry.full_name, email=feedback_entry.email %}
<h1>Feedback</h1> <h1>Feedback</h1>
<p>Taiga has received feedback from {{ full_name }} <{{ email }}></p> <p>Taiga has received feedback from {{ full_name }} <{{ email }}></p>
{% endtrans %} {% endtrans %}

View File

@ -1,4 +1,4 @@
{% trans full_name=feedback_entry.full_name|safe, email=feedback_entry.email, comment=feedback_entry.comment %}--------- {% trans full_name=feedback_entry.full_name, email=feedback_entry.email, comment=feedback_entry.comment %}---------
- From: {{ full_name }} <{{ email }}> - From: {{ full_name }} <{{ email }}>
--------- ---------
- Comment: - Comment:

View File

@ -1,3 +1,3 @@
{% trans full_name=feedback_entry.full_name|safe, email=feedback_entry.email %} {% trans full_name=feedback_entry.full_name, email=feedback_entry.email %}
[Taiga] Feedback from {{ full_name }} <{{ email }}> [Taiga] Feedback from {{ full_name }} <{{ email }}>
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/updates-body-html.jinja" %} {% extends "emails/updates-body-html.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("issue", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("issue", project.slug, snapshot.ref) %}
<h1>Issue updated</h1> <h1>Issue updated</h1>
<p>Hello {{ user }}, <br> {{ changer }} has updated an issue on {{ project }}</p> <p>Hello {{ user }}, <br> {{ changer }} has updated an issue on {{ project }}</p>
<p>Issue #{{ ref }} {{ subject }}</p> <p>Issue #{{ ref }} {{ subject }}</p>

View File

@ -1,6 +1,6 @@
{% extends "emails/updates-body-text.jinja" %} {% extends "emails/updates-body-text.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name(), changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("issue", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("issue", project.slug, snapshot.ref) %}
Issue updated Issue updated
Hello {{ user }}, {{ changer }} has updated an issue on {{ project }} Hello {{ user }}, {{ changer }} has updated an issue on {{ project }}
See issue #{{ ref }} {{ subject }} at {{ url }} See issue #{{ ref }} {{ subject }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Updated the issue #{{ ref }} "{{ subject }}" [{{ project }}] Updated the issue #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("issue", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("issue", project.slug, snapshot.ref) %}
<h1>New issue created</h1> <h1>New issue created</h1>
<p>Hello {{ user }},<br />{{ changer }} has created a new issue on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has created a new issue on {{ project }}</p>
<p>Issue #{{ ref }} {{ subject }}</p> <p>Issue #{{ ref }} {{ subject }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("issue", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("issue", project.slug, snapshot.ref) %}
New issue created New issue created
Hello {{ user }}, {{ changer }} has created a new issue on {{ project }} Hello {{ user }}, {{ changer }} has created a new issue on {{ project }}
See issue #{{ ref }} {{ subject }} at {{ url }} See issue #{{ ref }} {{ subject }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Created the issue #{{ ref }} "{{ subject }}" [{{ project }}] Created the issue #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
<h1>Issue deleted</h1> <h1>Issue deleted</h1>
<p>Hello {{ user }},<br />{{ changer }} has deleted an issue on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has deleted an issue on {{ project }}</p>
<p>Issue #{{ ref }} {{ subject }}</p> <p>Issue #{{ ref }} {{ subject }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
Issue deleted Issue deleted
Hello {{ user }}, {{ changer }} has deleted an issue on {{ project }} Hello {{ user }}, {{ changer }} has deleted an issue on {{ project }}
Issue #{{ ref }} {{ subject }} Issue #{{ ref }} {{ subject }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Deleted the issue #{{ ref }} "{{ subject }}" [{{ project }}] Deleted the issue #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/updates-body-html.jinja" %} {% extends "emails/updates-body-html.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, name=snapshot.name|safe, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %}
<h1>Sprint updated</h1> <h1>Sprint updated</h1>
<p>Hello {{ user }}, <br> {{ changer }} has updated an sprint on {{ project }}</p> <p>Hello {{ user }}, <br> {{ changer }} has updated an sprint on {{ project }}</p>
<p>Sprint {{ name }}</p> <p>Sprint {{ name }}</p>

View File

@ -1,6 +1,6 @@
{% extends "emails/updates-body-text.jinja" %} {% extends "emails/updates-body-text.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, name=snapshot.name|safe, url=resolve_front_url("task", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name, url=resolve_front_url("task", project.slug, snapshot.slug) %}
Sprint updated Sprint updated
Hello {{ user }}, {{ changer }} has updated a sprint on {{ project }} Hello {{ user }}, {{ changer }} has updated a sprint on {{ project }}
See sprint {{ name }} at {{ url }} See sprint {{ name }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, milestone=snapshot.name|safe %} {% trans project=project.name, milestone=snapshot.name %}
[{{ project }}] Updated the sprint "{{ milestone }}" [{{ project }}] Updated the sprint "{{ milestone }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, name=snapshot.name|safe, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %}
<h1>New sprint created</h1> <h1>New sprint created</h1>
<p>Hello {{ user }},<br />{{ changer }} has created a new sprint on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has created a new sprint on {{ project }}</p>
<p>Sprint {{ name }}</p> <p>Sprint {{ name }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, name=snapshot.name|safe, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %}
New sprint created New sprint created
Hello {{ user }}, {{ changer }} has created a new sprint on {{ project }} Hello {{ user }}, {{ changer }} has created a new sprint on {{ project }}
See sprint {{ name }} at {{ url }} See sprint {{ name }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, milestone=snapshot.name|safe %} {% trans project=project.name, milestone=snapshot.name %}
[{{ project }}] Created the sprint "{{ milestone }}" [{{ project }}] Created the sprint "{{ milestone }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, name=snapshot.name|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, name=snapshot.name %}
<h1>Sprint deleted</h1> <h1>Sprint deleted</h1>
<p>Hello {{ user }},<br />{{ changer }} has deleted an sprint on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has deleted an sprint on {{ project }}</p>
<p>Sprint {{ name }}</p> <p>Sprint {{ name }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, name=snapshot.name|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name %}
Sprint deleted Sprint deleted
Hello {{ user }}, {{ changer }} has deleted an sprint on {{ project }} Hello {{ user }}, {{ changer }} has deleted an sprint on {{ project }}
Sprint {{ name }} Sprint {{ name }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, milestone=snapshot.name|safe %} {% trans project=project.name, milestone=snapshot.name %}
[{{ project }}] Deleted the Sprint "{{ milestone }}" [{{ project }}] Deleted the Sprint "{{ milestone }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/updates-body-html.jinja" %} {% extends "emails/updates-body-html.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("task", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("task", project.slug, snapshot.ref) %}
<h1>Task updated</h1> <h1>Task updated</h1>
<p>Hello {{ user }}, <br> {{ changer }} has updated a task on {{ project }}</p> <p>Hello {{ user }}, <br> {{ changer }} has updated a task on {{ project }}</p>
<p>Task #{{ ref }} {{ subject }}</p> <p>Task #{{ ref }} {{ subject }}</p>

View File

@ -1,6 +1,6 @@
{% extends "emails/updates-body-text.jinja" %} {% extends "emails/updates-body-text.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("task", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("task", project.slug, snapshot.ref) %}
Task updated Task updated
Hello {{ user }}, {{ changer }} has updated a task on {{ project }} Hello {{ user }}, {{ changer }} has updated a task on {{ project }}
See task #{{ ref }} {{ subject }} at {{ url }} See task #{{ ref }} {{ subject }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Updated the task #{{ ref }} "{{ subject }}" [{{ project }}] Updated the task #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("task", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("task", project.slug, snapshot.ref) %}
<h1>New task created</h1> <h1>New task created</h1>
<p>Hello {{ user }},<br />{{ changer }} has created a new task on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has created a new task on {{ project }}</p>
<p>Task #{{ ref }} {{ subject }}</p> <p>Task #{{ ref }} {{ subject }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("task", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("task", project.slug, snapshot.ref) %}
New task created New task created
Hello {{ user }}, {{ changer }} has created a new task on {{ project }} Hello {{ user }}, {{ changer }} has created a new task on {{ project }}
See task #{{ ref }} {{ subject }} at {{ url }} See task #{{ ref }} {{ subject }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Created the task #{{ ref }} "{{ subject }}" [{{ project }}] Created the task #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
<h1>Task deleted</h1> <h1>Task deleted</h1>
<p>Hello {{ user }},<br />{{ changer }} has deleted a task on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has deleted a task on {{ project }}</p>
<p>Task #{{ ref }} {{ subject }}</p> <p>Task #{{ ref }} {{ subject }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
Task deleted Task deleted
Hello {{ user }}, {{ changer }} has deleted a task on {{ project }} Hello {{ user }}, {{ changer }} has deleted a task on {{ project }}
Task #{{ ref }} {{ subject }} Task #{{ ref }} {{ subject }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Deleted the task #{{ ref }} "{{ subject }}" [{{ project }}] Deleted the task #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/updates-body-html.jinja" %} {% extends "emails/updates-body-html.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("userstory", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("userstory", project.slug, snapshot.ref) %}
<h1>User Story updated</h1> <h1>User Story updated</h1>
<p>Hello {{ user }}, <br> {{ changer }} has updated a user story on {{ project }}</p> <p>Hello {{ user }}, <br> {{ changer }} has updated a user story on {{ project }}</p>
<p>User Story #{{ ref }} {{ subject }}</p> <p>User Story #{{ ref }} {{ subject }}</p>

View File

@ -1,6 +1,6 @@
{% extends "emails/updates-body-text.jinja" %} {% extends "emails/updates-body-text.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe,ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("userstory", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name,ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("userstory", project.slug, snapshot.ref) %}
User story updated User story updated
Hello {{ user }}, {{ changer }} has updated a user story on {{ project }} Hello {{ user }}, {{ changer }} has updated a user story on {{ project }}
See user story #{{ ref }} {{ subject }} at {{ url }} See user story #{{ ref }} {{ subject }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Updated the US #{{ ref }} "{{ subject }}" [{{ project }}] Updated the US #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("userstory", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("userstory", project.slug, snapshot.ref) %}
<h1>New user story created</h1> <h1>New user story created</h1>
<p>Hello {{ user }},<br />{{ changer }} has created a new user story on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has created a new user story on {{ project }}</p>
<p>User Story #{{ ref }} {{ subject }}</p> <p>User Story #{{ ref }} {{ subject }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe, url=resolve_front_url("userstory", project.slug, snapshot.ref) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("userstory", project.slug, snapshot.ref) %}
New user story created New user story created
Hello {{ user }}, {{ changer }} has created a new user story on {{ project }} Hello {{ user }}, {{ changer }} has created a new user story on {{ project }}
See user story #{{ ref }} {{ subject }} at {{ url }} See user story #{{ ref }} {{ subject }} at {{ url }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Created the US #{{ ref }} "{{ subject }}" [{{ project }}] Created the US #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
<h1>User Story deleted</h1> <h1>User Story deleted</h1>
<p>Hello {{ user }},<br />{{ changer }} has deleted a user story on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has deleted a user story on {{ project }}</p>
<p>User Story #{{ ref }} {{ subject }}</p> <p>User Story #{{ ref }} {{ subject }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
User Story deleted User Story deleted
Hello {{ user }}, {{ changer }} has deleted a user story on {{ project }} Hello {{ user }}, {{ changer }} has deleted a user story on {{ project }}
User Story #{{ ref }} {{ subject }} User Story #{{ ref }} {{ subject }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} {% trans project=project.name, ref=snapshot.ref, subject=snapshot.subject %}
[{{ project }}] Deleted the US #{{ ref }} "{{ subject }}" [{{ project }}] Deleted the US #{{ ref }} "{{ subject }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/updates-body-html.jinja" %} {% extends "emails/updates-body-html.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %}
<h1>Wiki Page updated</h1> <h1>Wiki Page updated</h1>
<p>Hello {{ user }}, <br> {{ changer }} has updated a wiki page on {{ project }}</p> <p>Hello {{ user }}, <br> {{ changer }} has updated a wiki page on {{ project }}</p>
<p>Wiki page {{ page }}</p> <p>Wiki page {{ page }}</p>

View File

@ -1,6 +1,6 @@
{% extends "emails/updates-body-text.jinja" %} {% extends "emails/updates-body-text.jinja" %}
{% block head %} {% block head %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %}
Wiki Page updated Wiki Page updated
Hello {{ user }}, {{ changer }} has updated a wiki page on {{ project }} Hello {{ user }}, {{ changer }} has updated a wiki page on {{ project }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, page=snapshot.slug %} {% trans project=project.name, page=snapshot.slug %}
[{{ project }}] Updated the Wiki Page "{{ page }}" [{{ project }}] Updated the Wiki Page "{{ page }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %}
<h1>New wiki page created</h1> <h1>New wiki page created</h1>
<p>Hello {{ user }},<br />{{ changer }} has created a new wiki page on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has created a new wiki page on {{ project }}</p>
<p>Wiki page {{ page }}</p> <p>Wiki page {{ page }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %}
New wiki page created New wiki page created
Hello {{ user }}, {{ changer }} has created a new wiki page on {{ project }} Hello {{ user }}, {{ changer }} has created a new wiki page on {{ project }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, page=snapshot.slug %} {% trans project=project.name, page=snapshot.slug %}
[{{ project }}] Created the Wiki Page "{{ page }}" [{{ project }}] Created the Wiki Page "{{ page }}"
{% endtrans %} {% endtrans %}

View File

@ -1,7 +1,7 @@
{% extends "emails/base-body-html.jinja" %} {% extends "emails/base-body-html.jinja" %}
{% block body %} {% block body %}
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, page=snapshot.slug %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug %}
<h1>Wiki page deleted</h1> <h1>Wiki page deleted</h1>
<p>Hello {{ user }},<br />{{ changer }} has deleted a wiki page on {{ project }}</p> <p>Hello {{ user }},<br />{{ changer }} has deleted a wiki page on {{ project }}</p>
<p>Wiki page {{ page }}</p> <p>Wiki page {{ page }}</p>

View File

@ -1,4 +1,4 @@
{% trans user=user.get_full_name()|safe, changer=changer.get_full_name()|safe, project=project.name|safe, page=snapshot.slug %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug %}
Wiki page deleted Wiki page deleted
Hello {{ user }}, {{ changer }} has deleted a wiki page on {{ project }} Hello {{ user }}, {{ changer }} has deleted a wiki page on {{ project }}

View File

@ -1,3 +1,3 @@
{% trans project=project.name|safe, page=snapshot.slug %} {% trans project=project.name, page=snapshot.slug %}
[{{ project }}] Deleted the Wiki Page "{{ page }}" [{{ project }}] Deleted the Wiki Page "{{ page }}"
{% endtrans %} {% endtrans %}

View File

@ -1,3 +1,3 @@
{% trans project=membership.project|safe %} {% trans project=membership.project %}
[Taiga] Invitation to join to the project '{{ project }}' [Taiga] Invitation to join to the project '{{ project }}'
{% endtrans %} {% endtrans %}

View File

@ -1,3 +1,3 @@
{% trans project=membership.project|safe %} {% trans project=membership.project %}
[Taiga] Added to the project '{{ project }}' [Taiga] Added to the project '{{ project }}'
{% endtrans %} {% endtrans %}