From 90f5f4f3c25e2b10ed6d3f06d1422c2099eb31d9 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 18 Sep 2024 09:14:21 -0700
Subject: [PATCH 01/19] updated hash to api v5
add online_registration_url and online_registration_enabled fields to state_requirements api call
---
app/services/v5/state_requirements.rb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app/services/v5/state_requirements.rb b/app/services/v5/state_requirements.rb
index e6ef40ffc..b058298f5 100644
--- a/app/services/v5/state_requirements.rb
+++ b/app/services/v5/state_requirements.rb
@@ -35,6 +35,9 @@ def self.find(query)
state = find_state(query)
locale = get_locale(state, query[:lang])
+ # Instantiate StateCustomization with the state object
+ state_customization = StateCustomization.new(state)
+
validate_participation(state, locale)
validate_age(state, query[:date_of_birth], locale)
@@ -51,6 +54,8 @@ def self.find(query)
:sos_address => state.registrar_address,
:sos_phone => state.registrar_phone,
:sos_url => state.registrar_url,
+ :online_registration_url => state_customization.online_reg_url(nil),
+ :online_registration_enabled => state_customization.redirect_to_online_reg_url(nil),
:sub_18_msg => locale.sub_18 }
end
From 3cd2edad34bc9d014b4e473a644c0dc83fa41d32 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Fri, 20 Sep 2024 16:21:12 -0700
Subject: [PATCH 02/19] turn on some debugging
---
.../step_2_abr_splash_page_general.html.haml | 23 ++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/app/views/abrs/step_2_abr_splash_page_general.html.haml b/app/views/abrs/step_2_abr_splash_page_general.html.haml
index 01fe05480..b52805401 100644
--- a/app/views/abrs/step_2_abr_splash_page_general.html.haml
+++ b/app/views/abrs/step_2_abr_splash_page_general.html.haml
@@ -1,18 +1,35 @@
- abbrev = @abr.i18n_key
+
%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_1"}= t("txt.abr.splash.header_1", state_name: @abr.home_state_name).html_safe
+-# The following header is coming from:
+-# = t("txt.abr.splash.header_1", state_name: @abr.home_state_name)
.state-instructions
- = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
+ - instructions_1 = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
+ = instructions_1.html_safe
+-# The following instructions are coming from:
+-# = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_2"}= t("txt.abr.splash.header_2").html_safe
+-# The following header is coming from:
+-# = t("txt.abr.splash.header_2")
.state-instructions
- = t("states.custom.#{abbrev}.abr.splash.instructions_2", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
+ - instructions_2 = t("states.custom.#{abbrev}.abr.splash.instructions_2", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
+ = instructions_2.html_safe
+-# The following instructions are coming from:
+-# = t("states.custom.#{abbrev}.abr.splash.instructions_2", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_3"}= t("txt.abr.splash.header_3").html_safe
+-# The following header is coming from:
+-# = t("txt.abr.splash.header_3")
.state-instructions
- = t("states.custom.#{abbrev}.abr.splash.instructions_3", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
+ - instructions_3 = t("states.custom.#{abbrev}.abr.splash.instructions_3", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
+ = instructions_3.html_safe
+-# The following instructions are coming from:
+-# = t("states.custom.#{abbrev}.abr.splash.instructions_3", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
+
-# #finish_page_iframe
-# %iframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:0; padding:0; width:100%;', src: @abr_finish_iframe_url }
From 49beffdf0b8743ca1e90d49fcb42d44c6b388d0a Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Fri, 20 Sep 2024 16:52:54 -0700
Subject: [PATCH 03/19] Update en.yml
---
config/locales/txt/en.yml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/config/locales/txt/en.yml b/config/locales/txt/en.yml
index 04bb5d2ae..52f17b591 100644
--- a/config/locales/txt/en.yml
+++ b/config/locales/txt/en.yml
@@ -88,10 +88,17 @@ en:
Make sure you are registered to vote!
header_2: Questions & Next Steps
header_3: Don't Forget To Vote!
- deadline_passed_header: Requesting an Absentee Ballot in %{state}
+ deadline_passed_header: Rock the Vote has temporarily turned off the Absentee Request Tool in %{state}
deadline_passed_instructions: |-
- Thanks for being an active voter! We don't have an upcoming election in our database to request an absentee ballot for. Sign up for our election reminders to receive an email with information about requesting an absentee ballot when there's an election in your area.
- Right now, make sure that you're a registered voter so that you're able to vote by mail in future elections.
+ The most common reasons we deactivate our tool include:
+
+ - The deadline to request an absentee ballot in %{state_name} has passed
+ - It’s too soon to request an absentee ballot for the next election
+ - Our team is updating the tool in your state
+
+
+
+ Sign up for election reminders, and we’ll remind you to request an absentee ballot when there’s an election in your area.
deadline_passed_state_instructions:
url: you can look up your status by using your state's online
tool.
From 0db6ec1574176e31e0649a2a62c1b0f6c5871b6f Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Fri, 20 Sep 2024 16:56:45 -0700
Subject: [PATCH 04/19] Update en.yml
---
config/locales/txt/en.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/locales/txt/en.yml b/config/locales/txt/en.yml
index 52f17b591..5be4bda20 100644
--- a/config/locales/txt/en.yml
+++ b/config/locales/txt/en.yml
@@ -92,7 +92,7 @@ en:
deadline_passed_instructions: |-
The most common reasons we deactivate our tool include:
- - The deadline to request an absentee ballot in %{state_name} has passed
+ - The deadline to request an absentee ballot in %{state} has passed
- It’s too soon to request an absentee ballot for the next election
- Our team is updating the tool in your state
From db1c0ae02e177f0823146a619bd9d40fc4d308b0 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Fri, 20 Sep 2024 17:03:31 -0700
Subject: [PATCH 05/19] top margin on abr iframe
---
.../abrs/step_2_abr_deadline_passed_general.html.haml | 2 +-
app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml | 8 +++++++-
app/views/abrs/step_2_abr_splash_page_general.html.haml | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/app/views/abrs/step_2_abr_deadline_passed_general.html.haml b/app/views/abrs/step_2_abr_deadline_passed_general.html.haml
index 5755ca95a..b04af1667 100644
--- a/app/views/abrs/step_2_abr_deadline_passed_general.html.haml
+++ b/app/views/abrs/step_2_abr_deadline_passed_general.html.haml
@@ -19,7 +19,7 @@
- existing_locale = src_url.match(/(\?|&)locale=([^&]*)/)&.captures&.last || I18n.locale
- src_url = src_url.gsub(/(\?|&)locale=[^&]*/, '') # Remove any existing locale parameter
- src_url += src_url.include?('?') ? "&locale=#{existing_locale}" : "?locale=#{existing_locale}" # Append the new locale
- %iframe#dynamicLocaleIframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:0; padding:0; width:100%;', src: src_url }
+ %iframe#dynamicLocaleIframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:40px 0 0 0; padding:0; width:100%;', src: src_url }
:javascript
document.addEventListener('DOMContentLoaded', function () {
diff --git a/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml b/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
index 5de765756..4acf0116a 100644
--- a/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
+++ b/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
@@ -1,16 +1,22 @@
+-# STATENAME Automatically mails all registered voters a ballot
- abbrev = @abr.i18n_key
%h2{role: "heading", "aria-level": 2}= t("states.custom.#{abbrev}.abr.everyone_gets_ballot.header_1", state_name: @abr.home_state_name, default:t("txt.abr.everyone_gets_ballot.header_1", state_name: @abr.home_state_name)).html_safe
+-# If you are registered to vote in STATE NAME you do not need to request...
.state-instructions
= t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_1", state_name: @abr.home_state_name, url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), default: t("txt.abr.everyone_gets_ballot.instructions_1", state_name: @abr.home_state_name, url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip))).html_safe
+-# questions and next steps
%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_2").html_safe
+-# custom from state instructions_2
.state-instructions
= t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_2", registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
+-# Don't Forget to Vote!
%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_3").html_safe
+-# custom from state instructions 3 (deadlines for delivering your ballot)
.state-instructions
= t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_3").html_safe
@@ -20,7 +26,7 @@
#finish_page_iframe
- src_url = @abr_finish_iframe_url
- src_url = src_url.split('?')[0] # Remove all existing query parameters
- %iframe#dynamicLocaleIframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:0; padding:0; width:100%;', src: src_url }
+ %iframe#dynamicLocaleIframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:40px 0 0 0; padding:0; width:100%;', src: src_url }
:javascript
document.addEventListener('DOMContentLoaded', function () {
diff --git a/app/views/abrs/step_2_abr_splash_page_general.html.haml b/app/views/abrs/step_2_abr_splash_page_general.html.haml
index b52805401..4b63d3040 100644
--- a/app/views/abrs/step_2_abr_splash_page_general.html.haml
+++ b/app/views/abrs/step_2_abr_splash_page_general.html.haml
@@ -39,7 +39,7 @@
- existing_locale = src_url.match(/(\?|&)locale=([^&]*)/)&.captures&.last || I18n.locale
- src_url = src_url.gsub(/(\?|&)locale=[^&]*/, '') # Remove any existing locale parameter
- src_url += src_url.include?('?') ? "&locale=#{existing_locale}" : "?locale=#{existing_locale}" # Append the new locale
- %iframe#dynamicLocaleIframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:0; padding:0; width:100%;', src: src_url }
+ %iframe#dynamicLocaleIframe{border: '0', height: "575px", "ALLOWTRANSPARENCY": true, frameborder: "no", style: 'border:none !important; margin:40px 0 0 0; padding:0; width:100%;', src: src_url }
:javascript
document.addEventListener('DOMContentLoaded', function () {
From 6d264fb10654cf43784b21cf574e701981b59826 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Mon, 23 Sep 2024 11:51:44 -0700
Subject: [PATCH 06/19] abr and partner portal error string updates
---
app/controllers/abrs_controller.rb | 2 +-
.../step_2_abr_everyone_gets_ballot.html.haml | 4 ++--
.../step_2_abr_splash_page_general.html.haml | 7 +++++--
config/locales/en.yml | 4 ++--
config/locales/states/en.yml | 16 ++++++++--------
config/locales/txt/en.yml | 9 ++++++---
6 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/app/controllers/abrs_controller.rb b/app/controllers/abrs_controller.rb
index ec697e4e5..dffe4e806 100644
--- a/app/controllers/abrs_controller.rb
+++ b/app/controllers/abrs_controller.rb
@@ -76,7 +76,7 @@ def state_online_redirect
@abr.update_attributes(:finish_with_state=>true)
render :html => "".html_safe
end
-
+
def update
@abr = Abr.find_by_uid(params[:id])
set_up_locale
diff --git a/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml b/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
index 4acf0116a..1de069577 100644
--- a/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
+++ b/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
@@ -7,14 +7,14 @@
= t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_1", state_name: @abr.home_state_name, url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), default: t("txt.abr.everyone_gets_ballot.instructions_1", state_name: @abr.home_state_name, url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip))).html_safe
-# questions and next steps
-%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_2").html_safe
+-#%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_2").html_safe
-# custom from state instructions_2
.state-instructions
= t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_2", registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
-# Don't Forget to Vote!
-%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_3").html_safe
+-#%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_3").html_safe
-# custom from state instructions 3 (deadlines for delivering your ballot)
.state-instructions
diff --git a/app/views/abrs/step_2_abr_splash_page_general.html.haml b/app/views/abrs/step_2_abr_splash_page_general.html.haml
index 4b63d3040..62f446eb0 100644
--- a/app/views/abrs/step_2_abr_splash_page_general.html.haml
+++ b/app/views/abrs/step_2_abr_splash_page_general.html.haml
@@ -7,10 +7,12 @@
.state-instructions
- instructions_1 = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
= instructions_1.html_safe
+
+
-# The following instructions are coming from:
-# = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
-%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_2"}= t("txt.abr.splash.header_2").html_safe
+-#%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_2"}= t("txt.abr.splash.header_2").html_safe
-# The following header is coming from:
-# = t("txt.abr.splash.header_2")
@@ -20,7 +22,8 @@
-# The following instructions are coming from:
-# = t("states.custom.#{abbrev}.abr.splash.instructions_2", state_name: @abr.home_state_name, registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
-%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_3"}= t("txt.abr.splash.header_3").html_safe
+-# Don't Forget to Vote!
+-#%h2{role: "heading", "aria-level": 2, id: "abr_splash_header_3"}= t("txt.abr.splash.header_3").html_safe
-# The following header is coming from:
-# = t("txt.abr.splash.header_3")
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a086dff36..298dff2a2 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -771,8 +771,8 @@ en:
email_invalid: Email is not valid.
password_blank: Password can not be blank.
password_invalid: Login/password combination is not valid.
- not_active: Your account is not active. Please contact civictech@rockthevote.org
- to re-activate your account.
+ not_active: This account is not active. Accounts are deactivated after 90 days of inactivity or if your licensing agreement has lapsed. Please contact civictech@rockthevote.org
+ to reactivate your account.
not_confirmed: Your account is not confirmed.
not_approved: Your account is not approved.
no_authentication_details: You did not provide any details for authentication.
diff --git a/config/locales/states/en.yml b/config/locales/states/en.yml
index 9d088bcd6..1f92c8eb9 100644
--- a/config/locales/states/en.yml
+++ b/config/locales/states/en.yml
@@ -416,7 +416,7 @@ en:
If you are a Californian living away from home while attending school, you may choose to register to vote using your home away from home address or your traditional home address. You may not register to vote in two places during the same election cycle.
instructions_3: |-
- Deadlines for delivering your ballot
+ Deadlines for Submitting Your Ballot
- If you mail your vote-by-mail ballot, it must mailed postmarked on or before Election Day and received by your county elections office no later than 7 days after Election Day.
- If you are not sure your vote-by-mail ballot will arrive in time if mailed, bring it to any polling place or ballot box in the state between 7:00 a.m. and 8:00 p.m. on Election Day.
@@ -459,7 +459,7 @@ en:
out-of-state and want to register to vote there, check that\nstate's
voter registration rules. If you change your voter registration to a
different state, you\nare no longer eligible to vote in Colorado."
- instructions_3: "Deadlines for delivering your ballot
\n\n- Your
+ instructions_3: "
Deadlines for Submitting Your Ballot
\n\n- Your
county clerk must receive your ballot no later than 7:00 PM on Election
Day.
\n- If you are not sure \nif your ballot will arrive in time,
drop it off in person. Contact your \ncounty
@@ -509,7 +509,7 @@ en:
ballot request\">request\nan absentee ballot. \nYour request for
an absentee ballot must be received by no later than 15 days before
the \nelection in which you wish to vote."
- instructions_3: "
Deadlines for delivering your ballot
\n\n- Your
+ instructions_3: "
Deadlines for Submitting Your Ballot
\n\n- Your
voted and mailed ballot must be postmarked or otherwise demonstrated
to have been sent on or\n before Election Day, and must arrive no later
than the 10th day after Election Day.
\n- If you are concerned
@@ -609,7 +609,7 @@ en:
href=\"https://dos.myflorida.com/elections/for-voters/voting/vote-by-mail/\">How
to Request a Vote-by-Mail Ballot.\n"
instructions_2: ''
- instructions_3: "
Deadlines for delivering your ballot
\nYour
+ instructions_3: "
Deadlines for Submitting Your Ballot
\nYour
ballot must be received by the Supervisor of Elections' office no later
than 7:00pm on Election Day.
\nIf mailed, the United States Postal
Service recommends mailing your ballot at least one (1) week \nbefore
@@ -740,7 +740,7 @@ en:
Other voters who are away from their Hawaii residence during the election may submit an Absentee Application to have their ballot mailed to an alternate mailing address for the primary election, general election, or both.
Request an application with the state.
instructions_3: |-
- Deadlines for delivering your ballot
+ Deadlines for Submitting Your Ballot
You may return your voted ballot by mail or in person at a designated place of deposit within your county. Voted ballots must be received by your County Elections Division by 7:00 p.m. on Election Day.
@@ -2252,7 +2252,7 @@ en:
be received by your local county election official by the appropriate
deadline."
instructions_3: |-
- Deadlines for delivering your ballot
+ Deadlines for Submitting Your Ballot
Your ballot must be delivered by the close of polls on the date of election, or if you mail it, postmarked by Election Day.
@@ -2541,7 +2541,7 @@ en:
during an election should fill out an \nabsentee
ballot form and \nmail it to their county
elections office, \nor update their address online."
- instructions_3: "Deadlines for delivering your ballot
\n\nYour
+ instructions_3: "
Deadlines for Submitting Your Ballot
\n\nYour
ballot can be mailed or dropped off at any official
drop box across the state.\n
\n\nBallots must be received
at a dropbox or mailed with a valid post mark by 8 p.m. on Election
@@ -3390,7 +3390,7 @@ en:
title=\"Voters Away at College\">voting as a student.
"
instructions_3: |-
-
Deadlines for delivering your ballot
+ Deadlines for Submitting Your Ballot
Your ballot must either be postmarked no later than Election Day or returned to a ballot drop box by 8 p.m. on Election Day.
diff --git a/config/locales/txt/en.yml b/config/locales/txt/en.yml
index 5be4bda20..6e336db9b 100644
--- a/config/locales/txt/en.yml
+++ b/config/locales/txt/en.yml
@@ -78,14 +78,17 @@ en:
directly with your state for the most recent and accurate results
abr:
splash:
- header_1: How to Request an Absentee Ballot in %{state_name}
+ header_1: "%{state_name} restricts third-party organizations like Rock the Vote from helping you with your absentee ballot application."
header_2: Questions & Next Steps
header_3: Don't Forget to Vote!
+ instructions_1: "If you are registered to vote in %{state_name}, continue to your state's website to request an absentee ballot:"
everyone_gets_ballot:
header_1: "%{state_name} Automatically Mails All Registered Voters a Ballot"
instructions_1: |-
- If you are registered to vote in %{state_name} you do not need to request an absentee ballot.
- Make sure you are registered to vote!
+ If you are registered to vote in %{state_name} you do not need to request a
+ vote-by-mail ballot. Vote-by-mail ballots will be sent to all registered voters
+ before the upcoming election. You can return the vote-by-mail ballot you receive
+ by mail, or vote in person at your polling location.
header_2: Questions & Next Steps
header_3: Don't Forget To Vote!
deadline_passed_header: Rock the Vote has temporarily turned off the Absentee Request Tool in %{state}
From 6013035890ed65fbf76036a4023a8fa40727bd58 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Tue, 24 Sep 2024 10:12:21 -0700
Subject: [PATCH 07/19] Update step_2_abr_everyone_gets_ballot.html.haml
---
app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml b/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
index 1de069577..dda9d0087 100644
--- a/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
+++ b/app/views/abrs/step_2_abr_everyone_gets_ballot.html.haml
@@ -10,8 +10,8 @@
-#%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_2").html_safe
-# custom from state instructions_2
-.state-instructions
- = t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_2", registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
+-#.state-instructions
+-# = t("states.custom.#{abbrev}.abr.everyone_gets_ballot.instructions_2", registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip)).html_safe
-# Don't Forget to Vote!
-#%h2{role: "heading", "aria-level": 2}= t("txt.abr.everyone_gets_ballot.header_3").html_safe
From 7c8b43aadabc47d983fb1158766f278249c9ac30 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Tue, 24 Sep 2024 10:51:51 -0700
Subject: [PATCH 08/19] Update en.yml
---
config/locales/states/en.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/config/locales/states/en.yml b/config/locales/states/en.yml
index 1f92c8eb9..ab4868de3 100644
--- a/config/locales/states/en.yml
+++ b/config/locales/states/en.yml
@@ -406,6 +406,11 @@ en:
ca:
abr:
everyone_gets_ballot:
+ instructions_1: |-
+ If you are registered to vote in Cali you do not need to request a
+ vote-by-mail ballot. Vote-by-mail ballots will be sent to all registered voters
+ before the upcoming election. You can return the vote-by-mail ballot you receive
+ by mail, or vote in person at your polling location.
instructions_2: |-
Any registered voter may vote using a vote-by-mail ballot instead of going to the polls on Election Day.
To update your name or address, submit a new voter registration.
From afaefcf54e1b36e21446636e1f0a05b5f9d71dc8 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 25 Sep 2024 11:15:36 -0700
Subject: [PATCH 09/19] updated partner terms of use email
---
app/views/notifier/partner_terms_of_use.html.erb | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/app/views/notifier/partner_terms_of_use.html.erb b/app/views/notifier/partner_terms_of_use.html.erb
index b26e2dfaa..45e893310 100644
--- a/app/views/notifier/partner_terms_of_use.html.erb
+++ b/app/views/notifier/partner_terms_of_use.html.erb
@@ -1,16 +1,16 @@
Hi <%= @name %>,
-Thank you for signing up for a Rock the Vote civic technology tool! We're so glad to have you join our community of companies, nonprofits, and activists nationwide who use Rock the Vote's platform to register voters.
+Thank you for signing up for Rock the Vote's civic technology tools! We're so glad to have you join our community of companies, nonprofits, and activists nationwide who use Rock the Vote's platform to register and mobilize voters.
-Please read Rock the Vote's Terms of Use which outlines important information about our Privacy Policy, restrictions on digital advertising, custom branding, and more. Rock the Vote reserves the right to discontinue access to your tool if there is a breach to our Terms of Use.
-
-
-To learn more about how to use your civic technology tools, please read our Partner FAQs. Thank you for your partnership in this important work! If you have any questions, please don't hesitate to reach out.
+Our team will reach out soon with information on how to access your tools and Partner Portal. Thank you for your partnership in this important work!
- Rock the Vote
+
+Note: Your civic technology partnership agreement contains important information about our Terms of Use. Rock the Vote reserves the right to discontinue access to your tool if there is a breach to the terms of your agreement.
+
\ No newline at end of file
From 83402e1075cc14e46e2c095896c146aa143b18fc Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 25 Sep 2024 11:25:01 -0700
Subject: [PATCH 10/19] change MI to 16
---
app/validators/mi_registrant_validator.rb | 2 +-
config/locales/en.yml | 2 +-
db/bootstrap/import/states.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/validators/mi_registrant_validator.rb b/app/validators/mi_registrant_validator.rb
index 409e3dcff..ecdd8807b 100644
--- a/app/validators/mi_registrant_validator.rb
+++ b/app/validators/mi_registrant_validator.rb
@@ -145,7 +145,7 @@ def validate(reg)
def validate_age(reg)
return if reg.date_of_birth.blank?
- earliest_date = Date.today - 17.years - 6.months
+ earliest_date = Date.today - 16.years
if reg.date_of_birth > earliest_date
reg.errors.add(:date_of_birth, :too_young)
end
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 298dff2a2..8a5bc99b7 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -82,7 +82,7 @@ en:
requested_duplicate_dln_today: Have you applied for a duplicate driver’s license
or state ID today?
confirm_us_citizen: I am a United States citizen.
- confirm_will_be_18: I am at least 17.5 years old and will vote only after
+ confirm_will_be_18: I am at least 16 years old and will vote only after
I am 18.
is_30_day_resident: I am a Michigan resident and will vote only after I have
lived in my city or township for at least 30 days.
diff --git a/db/bootstrap/import/states.yml b/db/bootstrap/import/states.yml
index 780ad01be..a67b34923 100644
--- a/db/bootstrap/import/states.yml
+++ b/db/bootstrap/import/states.yml
@@ -439,7 +439,7 @@ record_22:
MI 48901-0726
sos_phone: "(800) 292-5973"
sos_url: https://mvic.sos.state.mi.us/Voter/Index
- sub_18: 6_months_before
+ sub_18: once_turned_16
registration_deadline: michigan
online_registration_url: https://mvic.sos.state.mi.us/registervoter
online_registration_system_name: Michigan Voter Information Center
From d6011cd406ff21d8a62ea3460373917f1897559c Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Thu, 26 Sep 2024 09:35:30 -0700
Subject: [PATCH 11/19] Update step_2_abr_splash_page_general.html.haml
---
app/views/abrs/step_2_abr_splash_page_general.html.haml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/views/abrs/step_2_abr_splash_page_general.html.haml b/app/views/abrs/step_2_abr_splash_page_general.html.haml
index 62f446eb0..0563d3e4d 100644
--- a/app/views/abrs/step_2_abr_splash_page_general.html.haml
+++ b/app/views/abrs/step_2_abr_splash_page_general.html.haml
@@ -5,9 +5,14 @@
-# = t("txt.abr.splash.header_1", state_name: @abr.home_state_name)
.state-instructions
- - instructions_1 = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
+ - instructions_1 = t("txt.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
= instructions_1.html_safe
+- if @abr.home_state_oabr_url.present?
+ %a{ href: @abr.home_state_oabr_url, style: "word-wrap: break-word; overflow-wrap: break-word; display: inline-block;" }= @abr.home_state_oabr_url
+- else
+ %p No URL available at this time.
+
-# The following instructions are coming from:
-# = t("states.custom.#{abbrev}.abr.splash.instructions_1", state_name: @abr.home_state_name, lookup_url: new_catalist_lookup_path(partner: @abr.partner_id, email: @abr.email, zip: @abr.zip), registration_url: new_registrant_path(partner: @abr.partner, email_address: @abr.email, home_zip_code: @abr.zip))
From f6aeaad7294f64184c0749d707fe38baeedabb7c Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Mon, 30 Sep 2024 08:46:53 -0700
Subject: [PATCH 12/19] updated partner welcome notifier
---
app/mailers/notifier.rb | 2 +-
app/views/notifier/partner_terms_of_use.html.erb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb
index 9afd72426..da37f896e 100644
--- a/app/mailers/notifier.rb
+++ b/app/mailers/notifier.rb
@@ -31,7 +31,7 @@ def partner_terms_of_use(partner)
@privacy_url = "https://www.rockthevote.org/about-rock-the-vote/privacy-policy/"
@partner_signup_url = "https://docs.google.com/forms/d/e/1FAIpQLSck6XJO2SQeSIenDpuHgNBUop9ENtvsGhMWLFYQDsy-VgO8pg/viewform"
@partner_tool_faqs = "https://www.rockthevote.org/programs-and-partner-resources/tech-for-civic-engagement/partner-ovr-tool-faqs/partner-ovr-tool-faqs/"
- mail(subject: "Rock the Vote Terms of Use",
+ mail(subject: "Welcome to Rock the Vote",
from: RockyConf.from_address,
to: partner.email,
date: Time.now.to_s(:db))
diff --git a/app/views/notifier/partner_terms_of_use.html.erb b/app/views/notifier/partner_terms_of_use.html.erb
index 45e893310..9b0a4e789 100644
--- a/app/views/notifier/partner_terms_of_use.html.erb
+++ b/app/views/notifier/partner_terms_of_use.html.erb
@@ -11,6 +11,6 @@ Our team will reach out soon with information on how to access your tools and Pa
- Rock the Vote
-Note: Your civic technology partnership agreement contains important information about our Terms of Use. Rock the Vote reserves the right to discontinue access to your tool if there is a breach to the terms of your agreement.
+Note: Your civic technology partnership agreement contains important information about our Terms of Use. Rock the Vote reserves the right to discontinue access to your tool if there is a breach to the terms of your agreement.
\ No newline at end of file
From 45cc582ecb67c1483dcd546a67799b5bcd77642e Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Mon, 30 Sep 2024 13:54:12 -0700
Subject: [PATCH 13/19] updates to pdf and NC specific strings
hide party in NC and add custom pdf and email strings
Update states.yml
Update _race_and_party.html.erb
Update en.yml
Update registrant_pdf.html.haml
Update nvra.scss
---
app/assets/stylesheets/nvra.scss | 1 +
.../registrants/_race_and_party.html.erb | 3 +-
.../registrants/registrant_pdf.html.haml | 2 +-
config/locales/pdf/en.yml | 38 +++++++++++--------
config/locales/states/en.yml | 14 +++++++
db/bootstrap/import/states.yml | 5 ++-
6 files changed, 44 insertions(+), 19 deletions(-)
diff --git a/app/assets/stylesheets/nvra.scss b/app/assets/stylesheets/nvra.scss
index 206c09a06..e5bac405c 100644
--- a/app/assets/stylesheets/nvra.scss
+++ b/app/assets/stylesheets/nvra.scss
@@ -196,6 +196,7 @@ span.smaller_prompt {
h4 {
text-transform:uppercase;
font-size:.7 * $fs;
+ line-height: 1.8;
a {
text-transform:none;
}
diff --git a/app/views/registrants/_race_and_party.html.erb b/app/views/registrants/_race_and_party.html.erb
index e4570a2dc..aceba76da 100644
--- a/app/views/registrants/_race_and_party.html.erb
+++ b/app/views/registrants/_race_and_party.html.erb
@@ -8,7 +8,8 @@
<% end %>
-<% if @state_parties && @state_parties.any? %>
+
+<% if @registrant.home_state_abbrev != "NC" && @state_parties && @state_parties.any? %>
-
<%= form.label :party %><%- if @registrant.requires_party? %>*<%= I18n.t('required') %><%- end %>
diff --git a/app/views/registrants/registrant_pdf.html.haml b/app/views/registrants/registrant_pdf.html.haml
index 85a89a71e..22b167428 100644
--- a/app/views/registrants/registrant_pdf.html.haml
+++ b/app/views/registrants/registrant_pdf.html.haml
@@ -61,10 +61,10 @@
%p= @registrant.registration_deadline.to_s.html_safe
%tr
%td.other_block
- %h4.title= I18n.t('pdf.nvra.page1.other_block', :instructions_url=>@registrant_instructions_link).to_s.html_safe
- if !@registrant.home_state_pdf_other_instructions.blank?
.state_instructions
%p= @registrant.home_state_pdf_other_instructions.to_s.html_safe
+ %h4.title= I18n.t('pdf.nvra.page1.other_block', :instructions_url=>@registrant_instructions_link).to_s.html_safe
- if @for_printer
%p= I18n.t('pdf.nvra.page1.ep_hotline').to_s.html_safe
%h3.bottom_title= I18n.t('pdf.nvra.page1.bottom_block.title' ).to_s.html_safe
diff --git a/config/locales/pdf/en.yml b/config/locales/pdf/en.yml
index cc111ca71..b3a04a3fa 100644
--- a/config/locales/pdf/en.yml
+++ b/config/locales/pdf/en.yml
@@ -61,27 +61,33 @@ en:
title: ! 'SUBMIT YOUR COMPLETED, SIGNED FORM TO:'
deadline_block:
title: ! 'MAIL-IN REGISTRATION DEADLINE:'
- other_block: You must read %{instructions_url} for complete general and state-specific
- instructions, including eligibility requirements.
+ other_block: |-
+ YOU MUST READ https://www.eac.gov/voters/national-mail-voter-registration-form
+ FOR COMPLETE GENERAL AND STATE-SPECIFIC INSTRUCTIONS, INCLUDING ELIGIBILITY
+ REQUIREMENTS.
ep_hotline: ! 'QUESTIONS?
ELECTION PROTECTION HOTLINE:
(866) OUR-VOTE — (866) 687-8683'
bottom_block:
title: FIRST TIME VOTERS WHO REGISTER BY MAIL
- paragraph1: ! 'If you are registering to vote for the first time in your
- jurisdiction and are mailing this registration application, Federal law
- requires you to show proof of identification the first time you vote.
- Proof of identification includes: A current and valid photo identification
- or a current utility bill, bank statement, government check, paycheck,
- or government document that shows your name and address.'
- paragraph2: Voters may be exempt from this requirement if they submit a
- copy of this identification with their mail in voter registration form.
- paragraph3: ! 'If you wish to submit a copy, please keep the following in
- mind: Your state may have additional identification requirements which
- may mandate you show identification at the polling place even if you meet
- the Federal proof of identification.'
- paragraph4: Do not submit original documents with this application, only
- copies.
+ paragraph1: |-
+ Please note that your state may have additional voter ID requirements, in
+ addition to what's described below.
+ paragraph2: |-
+ If you are voting for the first time in your state and registered by mail,
+ federal law may require you to show proof of identification the first time you
+ vote in a federal election. This proof of identification includes showing the
+ following (or if voting a mail ballot, including a COPY of the following):
+ paragraph3: |-
+ - A current and valid photo identification; OR
+ - A current utility bill, bank statement, government check,
+ paycheck or government document that shows your name and address.
+ paragraph4: |-
+ Federal law does not require you to show proof of identification at the
+ polling location or when voting a mail ballot if (1) you provided a copy of
+ one of the above with your National Mail Voter Registration Form; or (2) your
+ voter registration form has been validated by an election official; or (3) you
+ are entitled by federal law to vote by absentee ballot.
page2:
title: Voter Registration Application
subtitle: Before completing this form, review the General, Application, and
diff --git a/config/locales/states/en.yml b/config/locales/states/en.yml
index ab4868de3..b690328ab 100644
--- a/config/locales/states/en.yml
+++ b/config/locales/states/en.yml
@@ -4282,8 +4282,16 @@ en:
If not, you must submit "proof of citizenship" along with your voter registration
application. The most common "proof" is a photocopy of your birth certificate
or passport. A full list of acceptable documentation can be found online.
+ north_carolina: |-
+ Custom NC instructions here.
pdf_other_instructions:
blank: ''
+ north_carolina: |-
+ If you want to register with a party, fill in Section 7 (Choice of Party) on
+ your form. You must register with a party to vote in that party’s primary
+ unless that party allows unaffiliated voters to vote in its primary. If you
+ indicate a political party that is not a qualified party, or indicate no party,
+ you will be listed as "Unaffiliated."
wisconsin: |-
Visit https://myvote.wi.gov up to 20 days before the election if
the voter has a current and valid Wisconsin driver license or state-issued
@@ -4312,6 +4320,12 @@ en:
A full list of acceptable documentation can be found on the
Secretary of State's website.
+ north_carolina: |-
+ If you want to register with a party, fill in Section 7 (Choice of Party) on
+ your form. You must register with a party to vote in that party’s primary
+ unless that party allows unaffiliated voters to vote in its primary. If you
+ indicate a political party that is not a qualified party, or indicate no party,
+ you will be listed as "Unaffiliated."
wisconsin: |-
*Note: All voters MUST provide a Proof of Residence Document in
Wisconsin.
If you register to vote by mail, in-person in your clerk’s
diff --git a/db/bootstrap/import/states.yml b/db/bootstrap/import/states.yml
index a67b34923..4df407d5c 100644
--- a/db/bootstrap/import/states.yml
+++ b/db/bootstrap/import/states.yml
@@ -628,7 +628,7 @@ record_33:
name: North Carolina
requires_race: true
race_tooltip: not_required_with_state_name
- requires_party: true
+ requires_party: false
party_tooltip: required_for_primary_unless
id_number_tooltip: drivers_license_or_dmv_with_state_name
sos_address: State Board of Elections
P.O. Box 27255
Raleigh, NC 27611-7255
@@ -638,6 +638,9 @@ record_33:
id_length_min: '4'
sub_18: once_turned_16
online_registration_url: https://payments.ncdot.gov/service/nc_voter_registration/workflow/nc_voter_reg_standalone_entry/1?initialTalkObject=%7B%22dashboard%22%3A%7B%22serviceOfferingId%22%3A%22nc_voter_registration%22%2C%22licenses%22%3A%5B%5D%7D%7D
+ pdf_instructions: north_carolina
+ pdf_other_instructions: north_carolina
+ email_instructions: north_carolina
parties:
- democratic
- republican
From e2e90a178352bafb8f7eaaa258d126db60b05f27 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Tue, 1 Oct 2024 09:19:53 -0700
Subject: [PATCH 14/19] pdf style update
updates to 1st page of registration form
---
app/views/registrants/registrant_pdf.html.haml | 2 +-
config/locales/pdf/en.yml | 6 ++++--
config/locales/states/en.yml | 2 --
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app/views/registrants/registrant_pdf.html.haml b/app/views/registrants/registrant_pdf.html.haml
index 22b167428..bde1a7f72 100644
--- a/app/views/registrants/registrant_pdf.html.haml
+++ b/app/views/registrants/registrant_pdf.html.haml
@@ -70,7 +70,7 @@
%h3.bottom_title= I18n.t('pdf.nvra.page1.bottom_block.title' ).to_s.html_safe
%p= I18n.t('pdf.nvra.page1.bottom_block.paragraph1' ).to_s.html_safe
%p= I18n.t('pdf.nvra.page1.bottom_block.paragraph2' ).to_s.html_safe
- %p= I18n.t('pdf.nvra.page1.bottom_block.paragraph3' ).to_s.html_safe
+ %p{ style: "margin-left: 40px;" }= I18n.t('pdf.nvra.page1.bottom_block.paragraph3').to_s.html_safe
%p= I18n.t('pdf.nvra.page1.bottom_block.paragraph4' ).to_s.html_safe
.page#page_2
diff --git a/config/locales/pdf/en.yml b/config/locales/pdf/en.yml
index b3a04a3fa..2501e740c 100644
--- a/config/locales/pdf/en.yml
+++ b/config/locales/pdf/en.yml
@@ -62,7 +62,9 @@ en:
deadline_block:
title: ! 'MAIL-IN REGISTRATION DEADLINE:'
other_block: |-
- YOU MUST READ https://www.eac.gov/voters/national-mail-voter-registration-form
+ YOU MUST READ
+
+ https://www.eac.gov/voters/national-mail-voter-registration-form
FOR COMPLETE GENERAL AND STATE-SPECIFIC INSTRUCTIONS, INCLUDING ELIGIBILITY
REQUIREMENTS.
ep_hotline: ! 'QUESTIONS?
@@ -81,7 +83,7 @@ en:
paragraph3: |-
- A current and valid photo identification; OR
- A current utility bill, bank statement, government check,
- paycheck or government document that shows your name and address.
+ paycheck or government document that shows your name and address.
paragraph4: |-
Federal law does not require you to show proof of identification at the
polling location or when voting a mail ballot if (1) you provided a copy of
diff --git a/config/locales/states/en.yml b/config/locales/states/en.yml
index b690328ab..d2e998270 100644
--- a/config/locales/states/en.yml
+++ b/config/locales/states/en.yml
@@ -4282,8 +4282,6 @@ en:
If not, you must submit "proof of citizenship" along with your voter registration
application. The most common "proof" is a photocopy of your birth certificate
or passport. A full list of acceptable documentation can be found online.
- north_carolina: |-
- Custom NC instructions here.
pdf_other_instructions:
blank: ''
north_carolina: |-
From 884c1b5ddea5b8b66daf21671e3a05fa47b5c270 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 2 Oct 2024 11:27:08 -0700
Subject: [PATCH 15/19] NC string fix
---
db/bootstrap/import/states.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/db/bootstrap/import/states.yml b/db/bootstrap/import/states.yml
index 4df407d5c..5a7e06d9f 100644
--- a/db/bootstrap/import/states.yml
+++ b/db/bootstrap/import/states.yml
@@ -638,7 +638,6 @@ record_33:
id_length_min: '4'
sub_18: once_turned_16
online_registration_url: https://payments.ncdot.gov/service/nc_voter_registration/workflow/nc_voter_reg_standalone_entry/1?initialTalkObject=%7B%22dashboard%22%3A%7B%22serviceOfferingId%22%3A%22nc_voter_registration%22%2C%22licenses%22%3A%5B%5D%7D%7D
- pdf_instructions: north_carolina
pdf_other_instructions: north_carolina
email_instructions: north_carolina
parties:
From 7aad5ea26018b9f826c8b85d0e95f02d08718b2f Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 2 Oct 2024 13:06:51 -0700
Subject: [PATCH 16/19] updated chaser
---
config/locales/email/en.yml | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/config/locales/email/en.yml b/config/locales/email/en.yml
index 7f15137e6..d2dbd8c8c 100644
--- a/config/locales/email/en.yml
+++ b/config/locales/email/en.yml
@@ -251,12 +251,17 @@ en:
subject: You can still register to vote
body:
main: |-
- Hey%{registrant_first_name_with_space},
- I noticed that you didn’t finish filling out your online voter registration form. Registering with %{registrant_rtv_and_partner_name}'s online tool takes less time than it takes to...
- Snap your friends
Learn the latest TikTok dance
Listen to a Beyoncé song
- We want you to be part of our vast community of empowered voters. Amplify your voice today by finishing the registration process and making sure you are ready for the next election!
- %{registrant_rtv_and_partner_name}
- %{rtv_link}
+ We noticed that you didn't finish your voter registration application, and we
+ want to make sure your voice is heard in upcoming elections.
+ Registering to vote takes less time than it takes to...
+ Post on Instagram
+ Watch a TikTok video
+ Stream your favorite song
+ Complete your voter registration application now →
+ We want you to be part of our vast community of empowered voters.
+ Finish the registration process today and make sure
+ you’re ready for the next election!
+ %{registrant_rtv_and_partner_name}
thank_you_external:
subject: Thanks for beginning the voter registration process
body:
From 807d0f34654108d53566cbde3478cfbaf34a07ec Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 2 Oct 2024 13:42:05 -0700
Subject: [PATCH 17/19] Update chaser.html.erb
---
app/views/notifier/chaser.html.erb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/views/notifier/chaser.html.erb b/app/views/notifier/chaser.html.erb
index 7b6703b6f..64bdc8db4 100644
--- a/app/views/notifier/chaser.html.erb
+++ b/app/views/notifier/chaser.html.erb
@@ -10,6 +10,7 @@
:cancel_reminders_url =>@cancel_reminders_url,
:registrar_phone=> @registrar_phone,
:registrar_url=>@registrar_url,
- :rtv_link=>@rtv_link, :locale => @locale
+ :rtv_link => strip_tags(@rtv_link),
+ :locale => @locale
).html_safe %>
From e6c7c6447584c97044fd9af61d8ca34edc6899bb Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Wed, 2 Oct 2024 15:33:41 -0700
Subject: [PATCH 18/19] Update chaser.html.erb
---
app/views/notifier/chaser.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/notifier/chaser.html.erb b/app/views/notifier/chaser.html.erb
index 64bdc8db4..bb4cef780 100644
--- a/app/views/notifier/chaser.html.erb
+++ b/app/views/notifier/chaser.html.erb
@@ -10,7 +10,7 @@
:cancel_reminders_url =>@cancel_reminders_url,
:registrar_phone=> @registrar_phone,
:registrar_url=>@registrar_url,
- :rtv_link => strip_tags(@rtv_link),
+ :rtv_link => Nokogiri::HTML(@rtv_link).css('a').first['href'],
:locale => @locale
).html_safe %>
From aa6d7222afe3a8d13a86507eb686e9bd1ddbe8f5 Mon Sep 17 00:00:00 2001
From: Rock the Vote
Date: Thu, 3 Oct 2024 10:49:38 -0700
Subject: [PATCH 19/19] new chaser url
---
app/views/notifier/chaser.html.erb | 3 ++-
config/locales/email/en.yml | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/views/notifier/chaser.html.erb b/app/views/notifier/chaser.html.erb
index bb4cef780..4f9e7f5b7 100644
--- a/app/views/notifier/chaser.html.erb
+++ b/app/views/notifier/chaser.html.erb
@@ -10,7 +10,8 @@
:cancel_reminders_url =>@cancel_reminders_url,
:registrar_phone=> @registrar_phone,
:registrar_url=>@registrar_url,
- :rtv_link => Nokogiri::HTML(@rtv_link).css('a').first['href'],
+ :rtv_link=>@rtv_link,
+ :rtv_url=>Nokogiri::HTML(@rtv_link).css('a').first['href'],
:locale => @locale
).html_safe %>
diff --git a/config/locales/email/en.yml b/config/locales/email/en.yml
index d2dbd8c8c..ab4402a97 100644
--- a/config/locales/email/en.yml
+++ b/config/locales/email/en.yml
@@ -257,9 +257,9 @@ en:
Post on Instagram
Watch a TikTok video
Stream your favorite song
- Complete your voter registration application now →
+ Complete your voter registration application now →
We want you to be part of our vast community of empowered voters.
- Finish the registration process today and make sure
+ Finish the registration process today and make sure
you’re ready for the next election!
%{registrant_rtv_and_partner_name}
thank_you_external: