SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 256ede0d authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix use notification url to auto-unread it

parent 40ade126
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment