aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-26 15:51:29 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-10-26 15:51:29 +0200
commit9443569fb4f50222da03ce5f4d94eb56938ced8f (patch)
tree7d3cec701118980e43583e22cf4642a1641de8c9 /servo/views
parent052f2a44c8b1d809060c1d9501d31f71e8ef79e8 (diff)
downloadServo-9443569fb4f50222da03ce5f4d94eb56938ced8f.tar.gz
Servo-9443569fb4f50222da03ce5f4d94eb56938ced8f.tar.bz2
Servo-9443569fb4f50222da03ce5f4d94eb56938ced8f.zip
Say "Send" when sending
Diffstat (limited to 'servo/views')
-rw-r--r--servo/views/note.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/servo/views/note.py b/servo/views/note.py
index 19dba8a..eb19c61 100644
--- a/servo/views/note.py
+++ b/servo/views/note.py
@@ -118,12 +118,14 @@ def edit(request, pk=None, order_id=None, parent=None, recipient=None, customer=
"""
to = []
order = None
+ command = _('Save')
note = Note(order_id=order_id)
excluded_emails = note.get_excluded_emails()
if recipient is not None:
to.append(recipient)
-
+ command = _('Send')
+
if order_id is not None:
order = get_object_or_404(Order, pk=order_id)