Skip to content

Commit

Permalink
Merge pull request #4765 from freelawproject/fix-front-end-case-name
Browse files Browse the repository at this point in the history
  • Loading branch information
mlissner authored Dec 3, 2024
2 parents 3245860 + 1af9aab commit 2dc20f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cl/opinion_page/templates/opinions.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,13 @@ <h3>
</div>
</div>

<div class="case-caption jump-link" id="caption">{{ cluster.docket.case_name }}</div>
<div class="case-caption jump-link" id="caption">{{ cluster|best_case_name|safe }}</div>
<h4 class="case-court">{{ cluster.docket.court }}</h4>
<br>
<div class="case-details">
<ul class="list-unstyled">
<li><strong>Citations:</strong> {{ cluster.citation_string|default:"None known" }}</li>

{% if cluster.case_name_full != cluster.case_name and cluster.case_name_full != "" %}
{% if cluster.case_name_full != cluster|best_case_name %}
<li><strong>Full Case Name:</strong>
{{ cluster.case_name_full }}
</li>
Expand Down

0 comments on commit 2dc20f4

Please sign in to comment.