Skip to content

Commit

Permalink
Merge pull request #1858 from alphagov/withdrawn-notice-lang
Browse files Browse the repository at this point in the history
Add lang attribute to withdrawal notice
  • Loading branch information
maxgds authored Sep 15, 2020
2 parents 51cfb1d + 2aee254 commit f82a1e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/presenters/content_item/withdrawable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def withdrawal_notice_component
title: withdrawal_notice_title,
description_govspeak: withdrawal_notice["explanation"]&.html_safe,
time: withdrawal_notice_time,
lang: I18n.locale.to_s == "en" ? false : "en",
}
end
end
Expand Down

0 comments on commit f82a1e4

Please sign in to comment.