Skip to content

Commit

Permalink
Do not display Panel Guidance tags on cards
Browse files Browse the repository at this point in the history
On archive pages the "Panel Guidance" tag should no
longer appear as a banner over cards.

See: https://dxw.zendesk.com/agent/tickets/20084
  • Loading branch information
snim2 committed Sep 2, 2024
1 parent 3dab50d commit 1f65e4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/templates/ig_guidance/_partials/guidance.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
<div class="nhsuk-promo">

<a href="{{ guidance.url }}" class="nhsuk-promo__link-wrapper">

{% if guidance.guidance_type != "Panel Guidance" %}
<span class="nhsai_resource__category">{{ guidance|guidance_type }}</span>
{% endif %}

{% if guidance.featured_image %}
<div class="nhsuk-promo__img_wrapper">
Expand Down

0 comments on commit 1f65e4f

Please sign in to comment.