add link to email configuration settings as unsubscribe option

remotes/origin/release/3.1.1
Miguel Gonzalez 2018-02-08 11:46:30 +01:00
parent c949c67dc0
commit c7d90ea9b7
4 changed files with 19 additions and 4 deletions

View File

@ -435,7 +435,10 @@
<tr>
<td valign="top" class="footerContent">
{% block footer %}
{% trans support_url=sr("support.url"), support_email=sr("support.email"), mailing_list_url=sr("support.mailing_list") %}
{% trans unsubscribe_url=resolve_front_url("settings-mail-notifications"), support_url=sr("support.url"), support_email=sr("support.email"), mailing_list_url=sr("support.mailing_list") %}
<strong>Configure email notifications or unsubscribe:</strong>
<a href="{{ unsubscribe_url }}" title="Unsubscribe" style="color: #9dce0a">{{ unsubscribe_url}}</a>
<br>
<strong>Taiga Support:</strong>
<a href="{{ support_url }}" title="Support page" style="color: #9dce0a">{{ support_url}}</a>
<br>

View File

@ -394,7 +394,10 @@
<tr>
<td valign="top" class="footerContent">
{% block footer %}
{% trans support_url=sr("support.url"), support_email=sr("support.email"), mailing_list_url=sr("support.mailing_list") %}
{% trans unsubscribe_url=resolve_front_url("settings-mail-notifications"), support_url=sr("support.url"), support_email=sr("support.email"), mailing_list_url=sr("support.mailing_list") %}
<strong>Configure email notifications or unsubscribe:</strong>
<a href="{{ unsubscribe_url }}" title="Unsubscribe" style="color: #9dce0a">{{ unsubscribe_url}}</a>
<br>
<strong>Taiga Support:</strong>
<a href="{{ support_url }}" title="Support page" style="color: #9dce0a">{{ support_url}}</a>
<br>

View File

@ -456,7 +456,10 @@
<tr>
<td valign="top" class="footerContent">
{% block footer %}
{% trans support_url=sr("support.url"), support_email=sr("support.email"), mailing_list_url=sr("support.mailing_list") %}
{% trans unsubscribe_url=resolve_front_url("settings-mail-notifications"), support_url=sr("support.url"), support_email=sr("support.email"), mailing_list_url=sr("support.mailing_list") %}
<strong>Configure email notifications or unsubscribe:</strong>
<a href="{{ unsubscribe_url }}" title="Unsubscribe" style="color: #9dce0a">{{ unsubscribe_url}}</a>
<br>
<strong>Taiga Support:</strong>
<a href="{{ support_url }}" title="Support page" style="color: #9dce0a">{{ support_url}}</a>
<br>

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: taiga-back\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-06 11:42+0200\n"
"POT-Creation-Date: 2018-02-08 12:00+0100\n"
"PO-Revision-Date: 2015-03-25 20:09+0100\n"
"Last-Translator: Taiga Dev Team <support@taiga.io>\n"
"Language-Team: Taiga Dev Team <support@taiga.io>\n"
@ -396,6 +396,12 @@ msgstr ""
#, python-format
msgid ""
"\n"
" <strong>Configure email "
"notifications or unsubscribe:</strong>\n"
" <a href="
"\"%(unsubscribe_url)s\" title=\"Unsubscribe\" style=\"color: #9dce0a\">"
"%(unsubscribe_url)s</a>\n"
" <br>\n"
" <strong>Taiga Support:</"
"strong>\n"
" <a href=\"%(support_url)s"