Skip to content

Commit

Permalink
Update catalogue.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood authored Jan 12, 2024
1 parent 1aa5688 commit 4119cb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/templates/search/catalogue.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,9 @@ <h2 class="tna-heading-xl tna-!--hide-on-large tna-!--hide-on-medium tna-!--marg
'text': result.held_by.name
} if result.held_by else None,
{
'text': result.covering_date,
'text': result.date,
'icon': 'calendar'
} if result.covering_date else None,
} if result.date else None,
{
'text': 'Reference ' + result.ref
} if result.ref else None
Expand Down Expand Up @@ -436,12 +436,12 @@ <h3 class="tna-heading-m">
</dt>
<dd>{{ result.held_by.name }}</dd>
{% endif %}
{% if result.covering_date %}
{% if result.date %}
<dt>
<i class="fa-solid fa-calendar"></i>
Date
</dt>
<dd>{{ result.covering_date }}</dd>
<dd>{{ result.date }}</dd>
{% endif %}
{% if result.ref %}
<dt>
Expand Down

0 comments on commit 4119cb9

Please sign in to comment.