From ab2811f94297bd44c5be6da50bbf2b29cb7961a3 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Wed, 27 Feb 2019 10:06:06 +0100
Subject: [PATCH] Add handy link in profile_form.html

---
 profiles/templates/profiles/profile_form.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/templates/profiles/profile_form.html b/profiles/templates/profiles/profile_form.html
index b5e021cfc..3f0bd456b 100644
--- a/profiles/templates/profiles/profile_form.html
+++ b/profiles/templates/profiles/profile_form.html
@@ -16,7 +16,7 @@
     <h4>Matching profiles found for this {{ from_type }}</h4>
     <ul>
       {% for matching_profile in matching_profiles %}
-      <li>{{ matching_profile }} (id {{ matching_profile.id }}, {{ matching_profile.email }})&nbsp;&nbsp;<a href="{% url 'profiles:profile_match' profile_id=matching_profile.id from_type=from_type pk=pk %}"><i class="fa fa-arrow-right"></i> Match this {{ from_type }} to this Profile</a>
+      <li><a href="{{ matching_profile.get_absolute_url }}" target="_blank">{{ matching_profile }}</a> (id {{ matching_profile.id }}, {{ matching_profile.email }})&nbsp;&nbsp;<a href="{% url 'profiles:profile_match' profile_id=matching_profile.id from_type=from_type pk=pk %}"><i class="fa fa-arrow-right"></i> Match this {{ from_type }} to this Profile</a>
       </li>
       {% endfor %}
     </ul>
-- 
GitLab