@@ -310,7 +313,7 @@
{{ cluster.docket.court }}
{% endif %}
{% if has_downloads and "pdf" in pdf_path or cluster.filepath_pdf_harvard %}
- PDF
+ PDF
{% endif %}
diff --git a/cl/opinion_page/views.py b/cl/opinion_page/views.py
index fc45ff0a4e..64f1d961fb 100644
--- a/cl/opinion_page/views.py
+++ b/cl/opinion_page/views.py
@@ -952,16 +952,15 @@ async def setup_opinion_context(
:param tab: The tab to load
:return: The opinion page context used to generate the page
"""
- title = ", ".join(
- [
- s
- for s in [
- trunc(best_case_name(cluster), 100, ellipsis="..."),
- await cluster.acitation_string(),
- ]
- if s.strip()
- ]
- )
+ tab_intros = {
+ "authorities": "Authorities for ",
+ "cited-by": "Citations to ",
+ "related-cases": "Similar cases to ",
+ "summaries": "Summaries of ",
+ "pdf": "Download PDF for ",
+ }
+ tab_intro = tab_intros.get(tab, "")
+ title = f"{tab_intro}{trunc(best_case_name(cluster), 100, ellipsis='...')}"
has_downloads = False
pdf_path = None
if cluster.filepath_pdf_harvard: