Browse Source

Fix #36 - Add link in mail notification to the point added from a new request

neodarz 7 years ago
parent
commit
96fff35015
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wifiwithme/apps/contribmap/views.py

+ 1 - 1
wifiwithme/apps/contribmap/views.py

@@ -25,7 +25,7 @@ def add_contrib(request):
             # Send notification email
             # Send notification email
             if len(settings.NOTIFICATION_EMAILS) > 0:
             if len(settings.NOTIFICATION_EMAILS) > 0:
                 context = {
                 context = {
-                    'site_url': settings.SITE_URL,
+                    'site_url': str(settings.SITE_URL) + "/map/#" + str(contrib.id),
                     'contrib': contrib,
                     'contrib': contrib,
                 }
                 }
                 subject = get_template(
                 subject = get_template(