Skip to content

Commit

Permalink
feat: implement Login.gov help modal
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Jul 12, 2023
1 parent 4089022 commit 4ab90be
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 2 deletions.
Expand Up @@ -13,4 +13,5 @@
<span class="fallback-text color-logo">Login.gov</span>
</button>

{% include "eligibility/includes/modal--login-gov-help.html" with id="login-gov-help" %}
{% endblock description %}
@@ -0,0 +1,17 @@
{% extends "core/includes/modal.html" %}
{% load i18n %}
{% load static %}

{% block modal-content %}
<h2 class="px-lg-3">
{% translate "eligibility.pages.index.senior.help.headline" %}
<img class="icon" width="197" height="26" src="{% static "img/login-gov-logo.svg" %}" alt="{% translate "core.logos.login_gov" context "image alt text" %}" />
</h2>
<h3 class="pt-4 pt-lg-3 px-lg-3">{% translate "eligibility.pages.index.senior.help.sub_headline[0]" %}</h3>
<p class="pt-1 pt-lg-3 px-lg-3">{% translate "eligibility.pages.index.senior.help.p[0]" %}</p>

<h3 class="pt-4 pt-lg-3 px-lg-3">{% translate "eligibility.pages.index.senior.help.sub_headline[1]" %}</h3>
<p class="pt-1 pt-lg-3 px-lg-3">{% translate "eligibility.pages.index.senior.help.p[1]" %}</p>

<p class="py-4 py-lg-3 px-lg-3">{% translate "eligibility.pages.index.senior.help.p[2]" %}</p>
{% endblock modal-content %}
35 changes: 34 additions & 1 deletion benefits/locale/en/LC_MESSAGES/django.po
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2023-07-11 16:05+0000\n"
"POT-Creation-Date: 2023-07-12 05:34+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -468,6 +468,39 @@ msgstr ""
"If you do not have an account with any of these services, you will need to "
"create one. We recommend using Login.gov."

msgid "eligibility.pages.index.senior.help.headline"
msgstr "Learn more about"

msgctxt "image alt text"
msgid "core.logos.login_gov"
msgstr "TODO"

msgid "eligibility.pages.index.senior.help.sub_headline[0]"
msgstr "What is Login.gov?"

msgid "eligibility.pages.index.senior.help.p[0]"
msgstr ""
"Login.gov is a service that offers secure and private online access to "
"government programs, such as federal benefits, services and applications. "
"With a Login.gov account, you can sign into multiple government websites "
"with the same email address and password."

msgid "eligibility.pages.index.senior.help.sub_headline[1]"
msgstr "Why is Cal-ITP Benefits using Login.gov?"

msgid "eligibility.pages.index.senior.help.p[1]"
msgstr ""
"Login.gov uses two-factor authentication, and stronger passwords, that meet "
"new National Institute of Standards of Technology requirements for secure "
"validation and verification. By using Login.gov, you’ll get an extra layer "
"of security to help protect your account against password compromises."

msgid "eligibility.pages.index.senior.help.p[2]"
msgstr ""
"For more information on Login.gov, please visit the <a href='https://login."
"gov/help/' target=\"_blank\" rel=\"noopener noreferrer\">Login.gov Help "
"Center</a>"

msgid "eligibility.pages.start.sub_headline"
msgstr "You will need a few items to connect your benefit:"

Expand Down
35 changes: 34 additions & 1 deletion benefits/locale/es/LC_MESSAGES/django.po
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2023-07-11 16:05+0000\n"
"POT-Creation-Date: 2023-07-12 05:34+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -478,6 +478,39 @@ msgstr ""
"TODO: If you do not have an account with any of these services, you will "
"need to create one. We recommend using Login.gov."

msgid "eligibility.pages.index.senior.help.headline"
msgstr "TODO: Learn more about"

msgctxt "image alt text"
msgid "core.logos.login_gov"
msgstr "TODO"

msgid "eligibility.pages.index.senior.help.sub_headline[0]"
msgstr "TODO: What is Login.gov?"

msgid "eligibility.pages.index.senior.help.p[0]"
msgstr ""
"TODO: Login.gov is a service that offers secure and private online access to "
"government programs, such as federal benefits, services and applications. "
"With a Login.gov account, you can sign into multiple government websites "
"with the same email address and password."

msgid "eligibility.pages.index.senior.help.sub_headline[1]"
msgstr "TODO: Why is Cal-ITP Benefits using Login.gov?"

msgid "eligibility.pages.index.senior.help.p[1]"
msgstr ""
"TODO: Login.gov uses two-factor authentication, and stronger passwords, that "
"meet new National Institute of Standards of Technology requirements for "
"secure validation and verification. By using Login.gov, you’ll get an extra "
"layer of security to help protect your account against password compromises."

msgid "eligibility.pages.index.senior.help.p[2]"
msgstr ""
"TODO: For more information on Login.gov, please visit the <a href='https://"
"login.gov/help/' target=\"_blank\" rel=\"noopener noreferrer\">Login.gov "
"Help Center</a>"

msgid "eligibility.pages.start.sub_headline"
msgstr "Necesitará algunos artículos para conectar su beneficio:"

Expand Down

0 comments on commit 4ab90be

Please sign in to comment.