From 4b794a95752fbe4cf197618bcd760493d2ea18c0 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 28 May 2018 09:22:44 +0200
Subject: [PATCH] Correct missing invitation key in Fellow invite email

---
 templates/email/registration_invitation.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/email/registration_invitation.html b/templates/email/registration_invitation.html
index beae41fdc..5a2b2a96e 100644
--- a/templates/email/registration_invitation.html
+++ b/templates/email/registration_invitation.html
@@ -160,7 +160,7 @@ Dear {% if invitation.message_style == 'F' %}{{ invitation.get_title_display }}
         Besides looking around the site, you can also personally register
         (to become a Contributor, without necessarily committing to membership
         of the Editorial College, this to be discussed separately) by visiting
-        the following <a href="https://scipost.org/invitation/{{ invitation.cited_in_publication.citation }}">
+        the following <a href="https://scipost.org/invitation/{{ invitation.invitation_key }}">
         single-use link</a>, containing a partly pre-filled form for your convenience.
     </p>
     <p>
@@ -198,7 +198,7 @@ Dear {% if invitation.message_style == 'F' %}{{ invitation.get_title_display }}
         <br>1098 XH Amsterdam
         <br>The Netherlands
         <br>---------------------------------------------
-        <br>tel.: +31 (0)20 5255775\nfax: +31 (0)20 5255778
+        <br>tel.: +31 (0)20 5255775
         <br>---------------------------------------------
     </p>
 {% endif %}
-- 
GitLab