diff --git a/notifications/templates/notifications/partials/notice.html b/notifications/templates/notifications/partials/notice.html index 0ab76ceef202ff15c03f309328ec9a007fe55c65..411a96e0e9da56cc939b11ce65bf4a44c51e01b2 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>