Skip to content

Commit

Permalink
feat(recap): Updates authorities template to use new context keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Dec 8, 2023
1 parent 9b58cbc commit d21b694
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cl/opinion_page/templates/recap_authorities.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
{% block tab-content %}
<div role="tabpanel" class="tab-pane active" id="text">
<div id="authorities">
<h3>This {{authorities_context.doc_type}} cites {{ authorities_context.total_authorities_count|intcomma }} opinion{{ authorities_context.total_authorities_count|pluralize }}</h3>
{% with authorities_count=rd.authority_count %}
<h3>This document cites {{ authorities_count|intcomma }} opinion{{ authorities_count|pluralize }}</h3>
{% endwith %}
<hr>
{# Westlaw's metadata organization: Checkbox, Treatment, Name + citation + summary, Date, Type, Depth #}
{% include 'includes/authorities_list.html' with authorities=authorities_context.full_list_authorities %}
{% include 'includes/authorities_list.html' with authorities=authorities %}
</div>
</div>

{% endblock %}

0 comments on commit d21b694

Please sign in to comment.