Skip to content

Commit

Permalink
Merge branch 'main' into 2029-make-api-documentation-more-user-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
dschnelldavis authored Aug 25, 2023
2 parents 786a292 + 80f56d3 commit 348d2ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cl/opinion_page/templates/opinion.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ <h4>Summary of Opinion</h4>
{% elif sub_opinion.html %}
<div class="serif-text">{{sub_opinion.html|safe}}</div>
{% else %}
<pre>{{sub_opinion.plain_text}}</pre>
<pre>{{sub_opinion.plain_text}}</pre>
{% endif %}
</div>
</div>
Expand Down
14 changes: 8 additions & 6 deletions cl/search/templates/includes/search_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,14 @@ <h4>
</div>
{% if type == SEARCH_TYPES.OPINION or type_override == SEARCH_TYPES.OPINION %}
{% if result.citeCount > 0 %}
<div class="bottom" class="inline-block">
<span class="meta-data-value">
<a href="/?q=cites%3A({{ result.sibling_ids|join:" OR "|urlencode }})"
rel="nofollow"
>Cited by {{ result.citeCount|intcomma }} opinion{{ result.citeCount|pluralize }}</a>
</span>
<div class="bottom">
<div class="inline-block">
<span class="meta-data-value">
<a href="/?q=cites%3A({{ result.sibling_ids|join:" OR "|urlencode }})"
rel="nofollow"
>Cited by {{ result.citeCount|intcomma }} opinion{{ result.citeCount|pluralize }}</a>
</span>
</div>
</div>
{% endif %}
{% endif %}
Expand Down

0 comments on commit 348d2ef

Please sign in to comment.