Skip to content

Commit

Permalink
help me sign up copy (#4278)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinmerbach authored and bbodine1 committed Aug 29, 2024
1 parent 02eac4f commit a96c5bf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
18 changes: 6 additions & 12 deletions app/views/ui-components/v1/modals/_help_with_plan.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,17 @@
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="help_sign_up_title"><%= l10n("insured.plan_shoppings.help_me_sign_up_options").titlecase %></h3>
<h3 class="modal-title d-flex align-items-center" id="help_sign_up_title"><div class="info-icon icon" alt="info" aria-hidden="true">&nbsp;</div> <span><%= l10n("insured.plan_shoppings.find_a_broker_or_assister").titlecase %></span></h3>
<h4 class="modal-title broker-search-title hide" id="help_from_expert_title"><%= l10n("insured.plan_shoppings.help_from_a_broker").titlecase %></h4>
<button type="button" class="close unstyled" data-dismiss="modal" aria-label=<%= l10n("close") %>>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="help_list">
<ul class="<%= 'plain' unless EnrollRegistry.feature_enabled?(:in_person_assister) || EnrollRegistry.feature_enabled?(:contact_customer_service_representative) %>">
<li><%= h(link_to l10n("insured.plan_shoppings.help_from_a_broker"), benefit_sponsors.staff_index_profiles_broker_agencies_broker_agency_profiles_path(bs4: @bs4), remote: true, class: "expert_link") %></li>
<% if EnrollRegistry.feature_enabled?(:in_person_assister) %>
<li><%= h(link_to l10n("insured.plan_shoppings.help_from_an_inperson_assister"), main_app.assister_index_exchanges_hbx_profiles_path, remote: true) %></li>
<% end %>
<% if EnrollRegistry.feature_enabled?(:contact_customer_service_representative) %>
<li class="name_search_only" id="CSR"><%= h(link_to l10n("insured.plan_shoppings.help_from_a_customer_service_representative")) %></li>
<li class="name_search_only" id="CAC"><%= h(link_to l10n("insured.plan_shoppings.help_from_a_certified_applicant_counselor")) %></li>
<% end %>
</ul>
<p><%= l10n("insured.plan_shoppings.desc1") %> <b><%= l10n("insured.plan_shoppings.desc2") %></b>.
<p><%= l10n("insured.plan_shoppings.desc3") %> <%= h(link_to l10n("insured.plan_shoppings.help_url"), "http://#{l10n('insured.plan_shoppings.help_url')}", target: "_blank", rel: 'noopener noreferrer') %> <%= l10n("insured.plan_shoppings.desc4") %></p>
<p><%= l10n("insured.plan_shoppings.desc5") %></p>
</div>
<div id="help_search" class="help_reset">
<h4><%= l10n("search_by_name") %></h4>
Expand All @@ -38,7 +31,8 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="" data-dismiss="modal" id="close_help_modal"><%= l10n("close") %></button>
<button type="button" class="outline mr-2" data-dismiss="modal" id="close_help_modal"><%= l10n("close") %></button>
<%= h(link_to l10n("insured.assign_an_expert"), benefit_sponsors.staff_index_profiles_broker_agencies_broker_agency_profiles_path(bs4: @bs4), remote: true, class: "expert_link button", id: "bottom_expert_link") %>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $('#inbox').removeClass("hide")
$('#help_list').addClass('hide')
$('#help_sign_up_title').addClass('hide')
$('#help_from_expert_title').removeClass('hide')
$('#bottom_expert_link').addClass("hide");
$('#help_type').html('Broker')
<% if EnrollRegistry.feature_enabled?(:staff_list_back) %>
$('#back_to_help').removeClass('hide')
Expand All @@ -27,13 +28,12 @@ $('.close_broker_select').click(function(){
})

$(document).on('click', '#help_list a.expert_link', function(){
console.log('clicked expert link');
$('#help_sign_up_title').addClass("hide");
$('#help_from_expert_title').removeClass("hide");
})

$(document).on('click', '#close_help_modal', function(){
console.log('clicked close_help_modal');
$('#help_sign_up_title').removeClass("hide");
$('#help_from_expert_title').addClass("hide");
$('#bottom_expert_link').removeClass("hide");
})
7 changes: 7 additions & 0 deletions db/seedfiles/translations/en/me/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,13 @@
:'en.insured.plan_shoppings.help_from_a_customer_service_representative' => "Help from a Customer Service Representative",
:'en.insured.plan_shoppings.help_from_a_certified_applicant_counselor' => "Help from a Certified Applicant Counselor (CAC)",
:'en.insured.plan_shoppings.receipt.go_to_my_account' => "Continue to My Account",
:'en.insured.plan_shoppings.find_a_broker_or_assister' => "Find a Broker or Assister",
:'en.insured.plan_shoppings.desc1' => "Both brokers and assisters can help you enroll in health insurance, and their services are at",
:'en.insured.plan_shoppings.desc2' => "no cost to you",
:'en.insured.plan_shoppings.desc3' => "To find a broker or assister in your area, visit",
:'en.insured.plan_shoppings.help_url' => "coverme.gov/find-help-near-you",
:'en.insured.plan_shoppings.desc4' => "to use the map feature by entering your town name or zip code. Once you find your expert, return here to add them to your account by selecting ‘Assign an Expert’. On the next page, search for assisters by their agency name and search for brokers by their first and last name.",
:'en.insured.plan_shoppings.desc5' => "If you already know the broker or assister you want to choose, select ‘Assign an Expert’.",
:'en.search_by_name' => "Search by Name",
:'en.search_for_help' => "Search for Help",
:'en.APTC_amount_title_info' => "If you submitted a formal application for financial assistance before shopping for coverage and were approved to receive Advanced Premium Tax Credit savings to reduce your monthly insurance premiums, the amount you’ll save is listed in this column.",
Expand Down

0 comments on commit a96c5bf

Please sign in to comment.