Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions app/views/public_pages/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
<%= t("views.public_pages.home.title") %>
<% end %>

<% content_for :notice do %>
<div class="slab slab--banner">
<div class="grid">
<div class="grid__item">
<%= image_tag 'icons/warning-triangle.svg', style: "margin-right: 0.5rem" %><%= t("views.shared.ice_warning_html", faq_link: "https://www.getyourrefund.org/#{locale}/faq/security_and_confidentiality") %>
</div>
</div>
</div>
<% end %>
<!--TODO: GYR1-908 Review and Re-enable Time-based Banners -->
<%# content_for :notice do %>
<%#= render "shared/homepage_banner" %>
<%# end %>

<% content_for :body_class, "body--home" %>

Expand Down
23 changes: 12 additions & 11 deletions app/views/signups/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<% content_for :notice do %>
<% unless open_for_gyr_intake? %>
<div class="slab slab--banner">
<div class="grid">
<div class="grid__item">
<strong><%= t('.banner', year: app_time.year) %></strong>
</div>
</div>
</div>
<% end %>
<% end %>
<!--TODO: GYR1-908 Review and Re-enable Time-based Banners -->
<%# content_for :notice do %>
<%# unless open_for_gyr_intake? %>
<!-- <div class="slab slab--banner">-->
<!-- <div class="grid">-->
<!-- <div class="grid__item">-->
<!-- <strong><%#= t('.banner', year: app_time.year) %></strong>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<%# end %>
<%# end %>

<% @header = t(".header") %>
<% content_for :page_title do %>
Expand Down
4 changes: 1 addition & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,6 @@ en:
signups:
flash_notice: Thank you! You will receive a notification when we open.
new:
banner: New intakes for GetYourRefund have closed for %{year}. Please come back in January to file next year.
header: We'd love to work with you next year to help you file your taxes for free!
opt_in_message:
01_intro: 'Note: Providing your phone number means you have opted in to the following in order to use the GetYourRefund service:'
Expand Down Expand Up @@ -5911,7 +5910,7 @@ en:
title: Select any situations that were true for your spouse in %{year}
ssn_itin:
title: Please provide your taxpayer identification information.
warning_html: '⚠️ <b>Immigrant filers</b>: As of April 7th, the IRS and Dept. of Homeland Security (including ICE) have reached an agreement to share data between the agencies. <a href="https://www.getyourrefund.org/en/faq/security_and_confidentiality/im_worried_my_home_address_is_not_secure">Please see our FAQ for more information if you have any concerns.</a>'
warning_html: '⚠️ <b>Immigrant filers</b>: As of April 2025, the IRS and Dept. of Homeland Security (including ICE) have reached an agreement to share data between the agencies. <a href="https://www.getyourrefund.org/en/faq/security_and_confidentiality/im_worried_my_home_address_is_not_secure">Please see our FAQ for more information if you have any concerns.</a>'
start_with_current_year:
starting_point: This is just a starting point, you will be able to discuss your situation in depth with your tax specialist over the phone.
title: We’ll start by asking about your situation in %{year}.
Expand Down Expand Up @@ -6066,7 +6065,6 @@ en:
volunteer_sign_in: Volunteer sign in
grayscale_partner_logo:
provider_homepage: "%{provider_name} Homepage"
ice_warning_html: "<strong>Immigrant filers:</strong> As of April 7th, the IRS and Dept. of Homeland Security (including ICE) have reached an agreement to share data between the agencies. <a href='%{faq_link}' target='_blank'>Please see our FAQ for more information.</a>"
in_person_vita_card:
bullet_1: Hands-on support
bullet_2: State and Federal tax returns
Expand Down
4 changes: 1 addition & 3 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2233,7 +2233,6 @@ es:
signups:
flash_notice: "¡Gracias! Recibirás una notificación cuando abramos."
new:
banner: Se cerraron nuevas inscripciones para GetYourRefund para %{year}. Vuelva en enero para presentar la solicitud el próximo año.
header: "¡Nos daría mucho gusto trabajar con usted y ayudarle gratuitamente a declarar sus impuestos!"
opt_in_message:
01_intro: 'Aviso: Proporcionar su número de teléfono significa que usted ha optado por lo siguiente para usar el servicio GetYourRefund:'
Expand Down Expand Up @@ -5931,7 +5930,7 @@ es:
title: Seleccione cualquier situación que haya sido cierta para su cónyuge en %{year}
ssn_itin:
title: Favor de proporcionar su información de identificación del contribuyente, "taxpayer identification information" en inglés.
warning_html: ⚠️ <b>Declarantes inmigrantes:</b> A partir del 7 de abril, el IRS y el Departamento de Seguridad Nacional (incluyendo ICE) han llegado a un acuerdo para compartir datos entre las agencias. <a href="https://www.getyourrefund.org/es/faq/security_and_confidentiality/im_worried_my_home_address_is_not_secure">Consulte nuestras preguntas frecuentes para más información</a>
warning_html: ⚠️ <b>Declarantes inmigrantes:</b> Desde abril de 2025, el IRS y el Departamento de Seguridad Nacional (incluyendo ICE) llegaron a un acuerdo para compartir datos entre las agencias. <a href="https://www.getyourrefund.org/es/faq/security_and_confidentiality/im_worried_my_home_address_is_not_secure">Consulte nuestras preguntas frecuentes para más información</a>
start_with_current_year:
starting_point: Este es solo un punto de partida, podrá discutir su situación en profundidad con su especialista en impuestos por teléfono.
title: Comenzaremos preguntando sobre su situación en el %{year}.
Expand Down Expand Up @@ -6093,7 +6092,6 @@ es:
volunteer_sign_in: Sesión de voluntarios
grayscale_partner_logo:
provider_homepage: Portada de %{provider_name}
ice_warning_html: "<strong>Declarantes inmigrantes:</strong> A partir del 7 de abril, el IRS y el Departamento de Seguridad Nacional (incluyendo ICE) han llegado a un acuerdo para compartir datos entre las agencias. <a href='%{faq_link}' target='_blank'>Consulte nuestras preguntas frecuentes para más información.</a>"
in_person_vita_card:
bullet_1: Apoyo personalizado
bullet_2: Declaraciones de impuestos estatales y federales
Expand Down
5 changes: 2 additions & 3 deletions spec/features/visit_home_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@
end
end

scenario "showing the ICE warning banner" do
scenario "show no banner" do
visit "/"

expect(page).to have_text "Immigrant filers: As of April 7th, the IRS and Dept. of Homeland Security (including ICE) have reached an agreement to share data between the agencies. Please see our FAQ for more information."
expect(page.all(:css, '.slab--banner').length).to eq 1
expect(page.all(:css, '.slab--banner').length).to eq 0
end

xcontext "shows the correct date-dependent banners" do
Expand Down
Loading