From 9443569fb4f50222da03ce5f4d94eb56938ced8f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 26 Oct 2015 15:51:29 +0200 Subject: Say "Send" when sending --- servo/templates/notes/form.html | 2 +- servo/views/note.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'servo') diff --git a/servo/templates/notes/form.html b/servo/templates/notes/form.html index c4eda72..ae0f019 100755 --- a/servo/templates/notes/form.html +++ b/servo/templates/notes/form.html @@ -99,7 +99,7 @@ {% if note.pk %} {% trans "Delete" %} {% endif %} - + {% endblock second_column %} 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) -- cgit v1.2.3