From 375b420e6c17412a618363cea8dc011e21448232 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Mon, 15 Oct 2018 15:21:23 +0300 Subject: [PATCH] add link to notify --- taskapp/handle.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/taskapp/handle.py b/taskapp/handle.py index 20fc982..46d6a01 100644 --- a/taskapp/handle.py +++ b/taskapp/handle.py @@ -22,7 +22,10 @@ def handle(task, author, recipients, abon_group): elif task.state == 'F' or task.state == 'C': text = _('Task completed') if task.abon is not None: - fulltext = "%s:\n%s\n" % (text, task.abon.get_full_name()) + fulltext = "%s:\n%s\n" % ( + text, + '%s' % (task.abon.get_absolute_url(), task.abon.get_full_name()) + ) else: fulltext = "%s\n" % text fulltext += _('locality %s.\n') % abon_group.title