Skip to content

Commit

Permalink
don't show jurisdiction unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed May 14, 2024
1 parent ede5296 commit f86a78d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions peachjam/templates/peachjam/layouts/document_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,17 @@ <h1>{{ document.title }}</h1>
{% block document-metadata-content %}
<dl class="document-metadata-list">
{% block document-metadata-content-jurisdiction %}
{% if document.jurisdiction %}
{% if MULTIPLE_JURISDICTIONS or document.locality %}
<dt>
{% trans 'Jurisdiction' %}
</dt>
<dd class="text-muted">
{{ document.jurisdiction }}
{% if document.locality %}
· {{ document.locality }}
</dd>
{% endif %}
{% if MULTIPLE_JURISDICTIONS %}
{{ document.jurisdiction }}
{% if document.locality %}·{% endif %}
{% endif %}
{{ document.locality|default_if_none:'' }}
</dd>
{% endif %}
{% endblock %}
{% block document-metadata-content-citation %}
Expand Down

0 comments on commit f86a78d

Please sign in to comment.