Fix object identifier styling

This commit is contained in:
Jeremy Stretch 2024-01-11 16:38:37 -05:00
parent 68ccee7cb1
commit dad5c8c86e

View File

@ -32,7 +32,7 @@ Context:
</ol> </ol>
{# Object identifier #} {# Object identifier #}
<code class="d-block text-muted px-0"> <code class="d-block text-muted bg-transparent px-0">
{% block object_identifier %} {% block object_identifier %}
{{ object|meta:"app_label" }}.{{ object|meta:"model_name" }}:{{ object.pk }} {{ object|meta:"app_label" }}.{{ object|meta:"model_name" }}:{{ object.pk }}
{% if object.slug %}({{ object.slug }}){% endif %} {% if object.slug %}({{ object.slug }}){% endif %}