Skip to content

Commit

Permalink
Fix landing page content bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmazanec22 committed Jan 22, 2025
1 parent 1adcf0f commit f62b126
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/controllers/state_file/landing_page_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def edit
end
@state_code = params[:us_state]
@state_name = StateFile::StateInformationService.state_name(@state_code)
@built_with_name = @state_code == "nj" ? "New Jersey Office of Innovation" : @state_name
end

def update
Expand Down
2 changes: 1 addition & 1 deletion app/views/state_file/landing_page/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<% else %>
<% unless @user_name.present? %>
<p class="h2">
<%= t(".built_with_html", state_name: @built_with_name) %>
<%= t(".#{@state_code}.built_with_html", default: t(".built_with_html", state_name: @state_name) ) %>
</p>
<% end %>

Expand Down
6 changes: 5 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2229,10 +2229,14 @@ en:
supported_by: Supported by the state of North Carolina
title: File your North Carolina state taxes for free
nj:
built_with_html: |
<strong>FileYourStateTaxes</strong> takes about 10 to 15 minutes to complete. Get started by setting up your account.
<br/><br/>
This service is built in partnership with the New Jersey Office of Innovation to integrate with IRS Direct File.
closed_html: "<strong>FileYourStateTaxes</strong> is built in partnership with the New Jersey Office of Innovation to integrate with IRS Direct File.<br /><br />\nWe're closed for the tax season. Unfortunately you can no longer file your state return with us this year. \n"
help_text_html: |
<ul class="list--bulleted">
<li>To have filed your 2024 federal return using IRS Direct File</li>
<li>To have filed your 2024 federal return using <a href="https://directfile.irs.gov/" target="_blank" rel="noopener nofollow">IRS Direct File</a></li>
<li>An email address or a phone number to receive a one-time verification code</li>
<li>Bank routing and account numbers (if you want to receive your refund or make a tax payment electronically)</li>
<li>(optional) Driver's license or state issued ID</li>
Expand Down
3 changes: 2 additions & 1 deletion config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2178,12 +2178,13 @@ es:
supported_by: Respaldada por el estado de North Carolina
title: Declara tus impuestos estatales de North Carolina sin costo
nj:
built_with_html: "Te tomará alrededor de 10 y 15 minutos completar tu declaración con <strong>FileYourStateTaxes</strong>. \n<br/><br/>\nEsta servicio ha sido creada en colaboración con el New Jersey Office of Innovation para integrarse con Direct File del IRS.\n"
closed_html: |
<strong>FileYourStateTaxes</strong> se creó en asociación con el New Jersey Office of Innovation para integrarse con la herramienta Direct File del IRS.<br /><br />
Estamos cerrados por la temporada de impuestos. Desafortunadamente no puede presentar su declaración estatal con nosotros este año.
help_text_html: |
<ul class="list--bulleted">
<li>To have filed your 2024 federal return using IRS Direct File</li>
<li>To have filed your 2024 federal return using <a href="https://directfile.irs.gov/" target="_blank" rel="noopener nofollow">IRS Direct File</a></li>
<li>An email address or a phone number to receive a one-time verification code</li>
<li>Bank routing and account numbers (if you want to receive your refund or make a tax payment electronically)</li>
<li>(optional) Driver's license or state issued ID</li>
Expand Down

0 comments on commit f62b126

Please sign in to comment.