Skip to content

Commit

Permalink
Merge pull request #5931 from fecgov/feature/5918-document-page-with-…
Browse files Browse the repository at this point in the history
…link

[MERGE BEFORE 09/28/23 RELEASE] Add link to document page
  • Loading branch information
rfultz authored Sep 28, 2023
2 parents ce12338 + 505d07c commit a87eec9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions fec/home/templates/home/document_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ <h1 class="heading__left">{% formatted_title self %}</h1>
<div class="heading__right">
<span class="t-sans">{{ self.display_date }}</span>
</div>
{% endspaceless %}
</div>
{% endspaceless %}
</div>
</header>
<p class="t-sans t-normal">
{% if self.file_url %}<i class="icon icon--inline--right icon--inline--left i-document"></i><a href="{{ self.file_url }}">{{ self.title}}</a>{% endif %}
{% if self.extension %} | ({{ self.extension }}){% endif %}
{% if self.size %} | ({{ self.size }}){% endif %}
</p>
<div class="main__content">
{% include 'partials/body-blocks.html' with blocks=self.body %}
</div>
Expand Down

0 comments on commit a87eec9

Please sign in to comment.