Browse Source

Merge branch 'master' of https://github.com/nerosketch/djing into devel

devel
bashmak 9 years ago
parent
commit
dfa3f11e04
  1. 5
      taskapp/handle.py

5
taskapp/handle.py

@ -24,7 +24,10 @@ def handle(task, author, recipient, abon_group):
# Меняем цель назначения на автора, т.к. при завершении # Меняем цель назначения на автора, т.к. при завершении
# идёт оповещение автору о выполнении # идёт оповещение автору о выполнении
dst_account = author dst_account = author
fulltext="%s:\n%s\n" % (text, task.abon.get_full_name())
if task.abon is not None:
fulltext="%s:\n%s\n" % (text, task.abon.get_full_name())
else:
fulltext="%s\n" % text
fulltext += _('locality %s.\n') % abon_group.title fulltext += _('locality %s.\n') % abon_group.title
if task.abon: if task.abon:
fulltext += _('address %s %s.\ntelephone %s\n') % ( fulltext += _('address %s %s.\ntelephone %s\n') % (

Loading…
Cancel
Save