From c2c21729b8355bdc27e7c3f2e161e28dba4a7d83 Mon Sep 17 00:00:00 2001 From: John Carroll Date: Wed, 27 Sep 2023 21:53:17 -0400 Subject: [PATCH 1/2] add link, extension, size --- fec/home/templates/home/document_page.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fec/home/templates/home/document_page.html b/fec/home/templates/home/document_page.html index 4bee83d23e..3d49f3222e 100644 --- a/fec/home/templates/home/document_page.html +++ b/fec/home/templates/home/document_page.html @@ -22,9 +22,14 @@

{% formatted_title self %}

{{ self.display_date }}
- {% endspaceless %} - + {% endspaceless %} + +

+ {% if self.file_url %}{{ self.title}}{% endif %} + {% if self.extension %} | ({{ self.extension }}){% endif %} + {% if self.size %} | ({{ self.size }}){% endif %} +

{% include 'partials/body-blocks.html' with blocks=self.body %}
From 505d07c54512f9026cae2d798a4b2cfce357058e Mon Sep 17 00:00:00 2001 From: John Carroll Date: Thu, 28 Sep 2023 11:32:59 -0400 Subject: [PATCH 2/2] wrap icon in if --- fec/home/templates/home/document_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fec/home/templates/home/document_page.html b/fec/home/templates/home/document_page.html index 3d49f3222e..a288b3b1b4 100644 --- a/fec/home/templates/home/document_page.html +++ b/fec/home/templates/home/document_page.html @@ -26,7 +26,7 @@

{% formatted_title self %}

- {% if self.file_url %}{{ self.title}}{% endif %} + {% if self.file_url %}{{ self.title}}{% endif %} {% if self.extension %} | ({{ self.extension }}){% endif %} {% if self.size %} | ({{ self.size }}){% endif %}