Adds anchor id to status

This commit is contained in:
Mouse Reeve 2021-10-01 14:12:49 -07:00
parent 565c9dfa72
commit 8461fe5ec3

View file

@ -3,7 +3,10 @@
{% load utilities %} {% load utilities %}
{% block card-header %} {% block card-header %}
<div class="card-header-title has-background-white-ter is-block"> <div
class="card-header-title has-background-white-ter is-block"
{% if main %}id="anchor-{{ status.id }}"{% endif %}
>
{% include 'snippets/status/header.html' with status=status %} {% include 'snippets/status/header.html' with status=status %}
</div> </div>
{% endblock %} {% endblock %}