Updated new vm email template

This commit is contained in:
PCoder 2017-09-04 12:32:53 +05:30
parent a98832c6d3
commit 8ac8b25d78
2 changed files with 5 additions and 10 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-03 14:48+0000\n" "POT-Creation-Date: 2017-09-04 06:59+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -211,15 +211,11 @@ msgstr "Zur Rechnung"
msgid "" msgid ""
"You have ordered a new virtual machine!\n" "You have ordered a new virtual machine!\n"
"Your order of [%(vm_name)s] has been charged.\n" "Your order of [%(vm_name)s] has been charged.\n"
"\n" "You can view your invoice here.\n"
"You can view your invoice by clicking the link below.\n"
"\n"
msgstr "" msgstr ""
"Du hast eine neue virtuelle Maschine bestellt!\n" "Du hast eine neue virtuelle Maschine bestellt!\n"
"Deine Bestellung von [%(vm_name)s] wurde erhoben.\n" "Deine Bestellung von [%(vm_name)s] wurde erhoben.\n"
"\n" "Um die Rechnung zu sehen, klicke hier.\n"
"Um die Rechnung zu sehen, klicke auf den Button unten.\n"
"\n"
msgid "Password Reset" msgid "Password Reset"
msgstr "Passwort zurücksetzen" msgstr "Passwort zurücksetzen"

View file

@ -2,11 +2,10 @@
{% load i18n %} {% load i18n %}
{% block email_head %}{{page_header}}{% endblock %} {% block email_head %}{{page_header}}{% endblock %}
{% block email_body %} {% block email_body %}
{% url 'hosting:orders' order.id as order_url %}
{% blocktrans with vm.name as vm_name %}You have ordered a new virtual machine! {% blocktrans with vm.name as vm_name %}You have ordered a new virtual machine!
Your order of [{{vm_name}}] has been charged. Your order of [{{vm_name}}] has been charged.
You can view your invoice here.
You can view your invoice by clicking the link below.
{% endblocktrans %} {% endblocktrans %}
{{ base_url }}{{order_url}} {{ base_url }}{{order_url}}
{% endblock %} {% endblock %}