Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Merge migrations

akjanikfe86d5c5185d
diff --git a/saleor/order/migrations/0030_ordernote_is_public.py b/saleor/order/migrations/0030_ordernote_is_public.py
new file mode 100644
index 0000000000..32f013e873
--- /dev/null
+++ b/saleor/order/migrations/0030_ordernote_is_public.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.5 on 2018-01-16 11:11
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('order', '0029_auto_20180111_0845'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='ordernote',
+ name='is_public',
+ field=models.BooleanField(default=True),
+ ),
+ ]
diff --git a/templates/templated_email/order/note/confirm_note.email b/templates/templated_email/order/note/confirm_note.email
new file mode 100644
index 0000000000..8410d6e90c
--- /dev/null
+++ b/templates/templated_email/order/note/confirm_note.email
@@ -0,0 +1,19 @@
+{% load i18n %}
+
+{% block subject %}
+ {% trans "New note" context "Note confirmation email subject" %}
+{% endblock %}
+
+{% block plain %}
+{% blocktrans context "Note confirmation email text" %}
+Hi!
+
+A new note has been added to your order. To see details please visit:
+{{ url }}
+
+This is an automatically generated email, please do not reply.
+
+Sincerely,
+{{ site_name }}
+{% endblocktrans %}
+{% endblock %}