From 256ede0d82e71e8bcbd792e34a2707192e5f1a19 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Thu, 14 Sep 2017 16:06:21 +0200
Subject: [PATCH] Fix use notification url to auto-unread it

---
 notifications/templates/notifications/partials/notice.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notifications/templates/notifications/partials/notice.html b/notifications/templates/notifications/partials/notice.html
index 0ab76ceef..411a96e0e 100644
--- a/notifications/templates/notifications/partials/notice.html
+++ b/notifications/templates/notifications/partials/notice.html
@@ -29,6 +29,6 @@
         <p class="mb-1">{{ notice.description|linebreaksbr }}</p>
     {% endif %}
     {% if notice.target %}
-        <a href="{{notice.target.get_absolute_url}}" class="btn btn-default px-0">Go to {{notice.target_content_type}}</a>
+        <a href="{{notice.get_absolute_url}}" class="btn btn-default px-0">Go to {{notice.target_content_type}}</a>
     {% endif %}
 </div>
-- 
GitLab