Skip to content

Commit

Permalink
Add cancelation copy (#5547)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Tahsina Islam <[email protected]>
  • Loading branch information
anisharamnani and tahsinaislam authored Feb 7, 2025
1 parent 9476749 commit 1f6e61b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
28 changes: 15 additions & 13 deletions app/views/state_file/questions/return_status/_rejected.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<% end %>
<% end %>

<% if @error&.auto_cancel %>
<% if @error&.auto_cancel || @submission_to_show.current_state == "cancelled" %>
<section class="spacing-below-15">
<p class="spacing-below-5"><strong><%= t('.next_steps.no_edit.title') %></strong></p>
<%= @error.resolution(I18n.locale).present? ? @error.resolution(I18n.locale) : t('.next_steps.no_edit.body_html') %>
<%= @error&.resolution(I18n.locale).present? ? @error.resolution(I18n.locale) : t('.next_steps.no_edit.body_html') %>
</section>
<% end %>

Expand All @@ -45,17 +45,19 @@
</section>
<% end %>

<section>
<p class="spacing-below-5"><strong><%= t('.have_questions') %></strong></p>
<ul class="list--bulleted">
<li class="text--underline open-intercom">
<%= t("general.chat_with_us") %>
</li>
<li>
<%= t(".email_us_html") %>
</li>
</ul>
</section>
<% if @submission_to_show.current_state != "cancelled" %>
<section>
<p class="spacing-below-5"><strong><%= t('.have_questions') %></strong></p>
<ul class="list--bulleted">
<li class="text--underline open-intercom">
<%= t("general.chat_with_us") %>
</li>
<li>
<%= t(".email_us_html") %>
</li>
</ul>
</section>
<% end %>

<% if @error&.auto_wait %>
<% edit_return_controller = @error.correction_path.present? ? EfileError.path_to_controller(@error.correction_path) : EfileError.default_controller(current_state_code) %>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3872,7 +3872,7 @@ en:
body: You can edit and resubmit your state return by clicking the button below.
title: What's next?
no_edit:
body_html: Unfortunately, the issue with filing your state return cannot be resolved on our service. We recommend you download your return to assist you in next steps.
body_html: Unfortunately, there has been an issue with filing your state return that cannot be resolved on our tool. We recommend you download your return to assist you in next steps. Chat with us or email us at <a href="mailto:[email protected]">[email protected]</a> for guidance on next steps.
title: What can I do next?
reject_code: 'Reject Code:'
reject_desc: 'Reject Description:'
Expand Down
2 changes: 1 addition & 1 deletion config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3823,7 +3823,7 @@ es:
body: Puedes editar y volver a enviar tu declaración estatal haciendo clic en el botón a continuación.
title: "¿Qué sigue?"
no_edit:
body_html: Desafortunadamente, el problema con la presentación de tu declaración estatal no se puede resolver a través de nuestro servicio. Te recomendamos descargar tu declaración, que puede servirte con los siguientes pasos.
body_html: Desafortunadamente, ha habido un problema con la presentación de su declaración estatal que no se puede resolver con nuestra herramienta. Le recomendamos descargar su declaración para ayudarle en los próximos pasos. Chatea con nosotros o envíanos un correo electrónico a <a href="mailto:[email protected]">[email protected]</a> para obtener orientación sobre los próximos pasos.
title: "¿Qué puedo hacer a continuación?"
reject_code: 'Código de Rechazo:'
reject_desc: 'Descripción del Rechazo:'
Expand Down

0 comments on commit 1f6e61b

Please sign in to comment.