Skip to content

Commit

Permalink
use warning banner for no match (#3861)
Browse files Browse the repository at this point in the history
* update content for bs4, use warning banner

* padding updates

* rename translation key
  • Loading branch information
charlienparker authored and kristinmerbach committed May 29, 2024
1 parent 71fbfa3 commit 006fe3a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/insured/consumer_roles/_no_match.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<% if @bs4 %>
<div class="alert alert-info d-flex" role="alert">
<div>
<div class="info-icon icon" alt="info" aria-hidden="true">&nbsp;</div>
<div class="alert alert-warning d-flex" role="alert">
<div class="pl-2">
<div class="warning-icon icon" alt="warning" aria-hidden="true">&nbsp;</div>
</div>
<div class="mt-1 mb-1">
<div class="mt-1 pl-0 pr-2 mb-1">
<% if @consumer_candidate&.match_person.present? && EnrollRegistry.feature_enabled?(:pii_match_success_message) %>
<%= l10n("insured.consumer_roles.match_info", site_short_name: site_short_name) %>
<% else %>
<%= l10n("insured.consumer_roles.no_match_info", site_short_name: site_short_name) %>
<%= l10n("insured.consumer_roles.no_match_info_2", site_short_name: site_short_name) %>
<% end %>
</div>
</div>
Expand All @@ -21,4 +21,4 @@
<% end %>
</div>
</div>
<% end %>
<% end %>
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/cca/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
:'en.cancel' => "Cancel",
:'en.insured.employee_roles.no_employer_found' => "No employer found.",
:'en.insured.employee_roles.no_match_info' => "Please check the information entered above and confirm with your employer that your demographic information is listed correctly on their roster. For further assistance, please contact %{contact_center_name}: %{contact_center_phone_number}.",
:'en.insured.consumer_roles.no_match_info_2' => "We weren’t able to find an existing application on %{site_short_name} for you. Please verify that the information was entered correctly. We need to verify if you or you and your family are eligible to enroll in coverage through %{site_short_name}. Select “Continue to Next Step” to go to the next step of verification.",
:'en.insured.employee_roles.healthcare_marketplace' => "Healthcare Marketplace",
:'en.insured.employee_roles.enroll_in_individual_benifits' => "Enroll in Individual Benefits",
:'en.insured.employee_roles.select_employer_site_help_html' => "If you don't see your employer listed above, click %{link} for help.",
Expand Down
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/dc/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
:'en.required_field_plural' => "required fields",
:'en.insured.consumer_roles.select_doc_type' => "Select document type",
:'en.insured.consumer_roles.no_match_info' => "Next, we need to verify if you or you and your family are eligible to enroll in coverage through %{site_short_name}. Select CONTINUE.",
:'en.insured.consumer_roles.no_match_info_2' => "We weren’t able to find an existing application on %{site_short_name} for you. Please verify that the information was entered correctly. We need to verify if you or you and your family are eligible to enroll in coverage through %{site_short_name}. Select “Continue to Next Step” to go to the next step of verification.",
:'en.insured.consumer_roles.match_info' => "You shouldn't be seeing this message",
:'en.insured.consumer_roles.idp_identity_conflict' => "There are too many matching individuals, please contact the exchange.",
:'en.insured.consumer_roles.privacy.privacy_info_html' => "<p class='starter'>We will keep your information private and will not share it with anyone unless you allow it or it is required by law. Your answers will only be used to decide whether you are eligible for health insurance. Information about your health will not be used to deny you insurance or determine how much you pay.<br/><br/>You can complete an application for health insurance for your children or other family members even if you do not qualify yourself. If you are applying for benefits for other members of your family, you will need to give us information about where you live, but you are not required to answer any questions about your citizenship or immigration status and you will not have to give us a Social Security Number.<br/><br/>As part of the application process, we will be checking the information you give us with information from other government agencies like the Social Security Administration, and the Department of Homeland Security. If the information you provide does not match the information we get from these agencies, we may ask you to send us proof. Remember, if you are not applying for benefits for yourself, we will not ask you about your citizenship or immigration status and will not check your information with the Department of Homeland Security.<br/><br/><a href='https://www.dchealthlink.com/privacy' target='_blank' rel='noopener noreferrer'>Learn more about how we will use your information.</a><br><a href='https://www.dchealthlink.com/privacy-act-statement' target='_blank' rel='noopener noreferrer'>View Privacy Act Statement</a><br/><br/>By clicking Continue, you are saying that you understand that information in this application, and the information we get from data sources will be used to decide the eligibility of the people who are applying for health insurance. You are also indicating that you have permission from all of the people listed on the application for their information to be retrieved and used from data sources.</p>",
Expand Down
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/me/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
:'en.required_field_plural' => "required fields",
:'en.insured.consumer_roles.select_doc_type' => "Select document type",
:'en.insured.consumer_roles.no_match_info' => "We weren’t able to find an existing application on %{site_short_name} for you. Next, we need to verify if you or you and your family are eligible to enroll in coverage through %{site_short_name}. Select CONTINUE.",
:'en.insured.consumer_roles.no_match_info_2' => "We weren’t able to find an existing application on %{site_short_name} for you. Please verify that the information was entered correctly. We need to verify if you or you and your family are eligible to enroll in coverage through %{site_short_name}. Select “Continue to Next Step” to go to the next step of verification.",
:'en.insured.consumer_roles.match_info' => "It looks like you already have an existing application with %{site_short_name}. This application could be from an application you had with Healthcare.gov, the Maine Office for Family Independence, or one you've completed with us previously. Please review your application as it's very important that all your information is up to date.",
:'en.insured.consumer_roles.idp_identity_conflict' => "There are too many matching individuals, please contact the exchange.",
:'en.insured.consumer_roles.privacy.privacy_info_html' => "<p class='starter'>We will keep your information private and will not share it with anyone unless you allow it or it is required by law. Your answers will only be used to decide whether you are eligible for health insurance. Information about your health will not be used to deny you insurance or determine how much you pay.<br/><br/>You can complete an application for health insurance for your children or other family members even if you do not qualify yourself. If you are applying for benefits for other members of your family, you will need to give us information about where you live, but you are not required to answer any questions about your citizenship or immigration status and you will not have to give us a Social Security Number.<br/><br/>As part of the application process, we will be checking the information you give us with information from other government agencies like the Social Security Administration, and the Department of Homeland Security. If the information you provide does not match the information we get from these agencies, we may ask you to send us proof. Remember, if you are not applying for benefits for yourself, we will not ask you about your citizenship or immigration status and will not check your information with the Department of Homeland Security.<br/><br/><a href='https://www./privacy' target='_blank' rel='noopener noreferrer'>Learn more about how we will use your information.</a><br><a href='https://www./privacy-act-statement' target='_blank' rel='noopener noreferrer'>View Privacy Act Statement</a><br/><br/>By clicking Continue, you are saying that you understand that information in this application, and the information we get from data sources will be used to decide the eligibility of the people who are applying for health insurance. You are also indicating that you have permission from all of the people listed on the application for their information to be retrieved and used from data sources.</p>",
Expand Down

0 comments on commit 006fe3a

Please sign in to comment.