-
Notifications
You must be signed in to change notification settings - Fork 166
LG-3840 Updated welcome and new agreement pages #4811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+348
−193
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
161f590
LG-3840 Updated welcome and new agreement pages
stevegsa 2efb52b
Revert
stevegsa aef8984
Misc
stevegsa de6e29c
Translations
stevegsa af24bb1
window_alert
stevegsa 6c403c2
More translations
stevegsa 7beec4e
More copy
stevegsa 3c12313
Merge branch 'main' into stevegsa-new-welcome-screen
stevegsa 4ff19a4
Lint
stevegsa d383416
More copy
stevegsa 3aa80f1
Unused
stevegsa a9b2272
More copy
stevegsa 4e833ea
More copy
stevegsa 13d62e6
More copy
stevegsa e470561
More copy
stevegsa f3579b4
More copy
stevegsa 15954a0
Fix line break
stevegsa 834adc1
em dash
stevegsa fb9da1b
Spacing
stevegsa 9d2d4a3
Spacing
stevegsa 5736a67
More spacing and font size changes
stevegsa 1a34ee6
MarketingSite.security_and_privacy_practices_url
stevegsa 9bec353
Unused <% step = 0 %>
stevegsa 4122e4b
Need no_camera code in welcome step js
stevegsa 78e5b2b
Remove error flash in welcome screen
stevegsa 8045ced
Spanish
stevegsa 9c2aa2d
French
stevegsa 24d885a
Merge branch 'main' into stevegsa-new-welcome-screen
stevegsa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| module Idv | ||
| module Steps | ||
| class AgreementStep < DocAuthBaseStep | ||
| def call | ||
| end | ||
|
|
||
| def form_submit | ||
| skip_to_capture if params[:skip_upload] | ||
|
|
||
| Idv::ConsentForm.new.submit(consent_form_params) | ||
| end | ||
|
|
||
| def skip_to_capture | ||
| # See: Idv::DocAuthController#update_if_skipping_upload | ||
| flow_session[:skip_upload_step] = true | ||
| end | ||
|
|
||
| def consent_form_params | ||
| params.permit(:ial2_consent_given) | ||
| end | ||
| end | ||
| end | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| <% title t('titles.doc_auth.verify') %> | ||
|
|
||
| <% if flow_session[:error_message] %> | ||
| <%= render 'shared/alert', { | ||
| type: 'error', | ||
| class: 'margin-bottom-4', | ||
| message: flow_session[:error_message], | ||
| } %> | ||
| <% end %> | ||
|
|
||
| <h1 class="h3"><%= t('doc_auth.headings.lets_go') %></h1> | ||
| <p><%= t('doc_auth.info.lets_go') %></p> | ||
| <h2><%= t('doc_auth.headings.verify_identity') %></h2> | ||
| <p><%= t('doc_auth.info.verify_identity') %></p> | ||
| <h2><%= t('doc_auth.headings.secure_account') %></h2> | ||
| <p><%= t('doc_auth.info.secure_account') %></p> | ||
|
|
||
| <%= validated_form_for :doc_auth, | ||
| url: url_for, | ||
| method: 'put', | ||
| html: { autocomplete: 'off', role: 'form', class: 'margin-top-2 js-consent-continue-form' } do |f| %> | ||
| <br/> | ||
| <label class="margin-top-neg-1 margin-bottom-4" for="ial2_consent_given"> | ||
| <div class="checkbox"> | ||
| <%= check_box_tag :ial2_consent_given, true, false %> | ||
| <span class="indicator"></span> | ||
| <%= t('doc_auth.instructions.consent') %> | ||
| <%= new_window_link_to t('doc_auth.instructions.learn_more'), 'https://login.gov/policy/' %> | ||
| </div> | ||
| </label> | ||
| <%= f.button :button, t('doc_auth.buttons.continue'), type: :submit, | ||
| class: 'btn btn-primary btn-wide sm-col-6 col-6' %> | ||
| <% end %> | ||
|
|
||
| <br/> | ||
|
|
||
|
|
||
| <% if user_fully_authenticated? %> | ||
| <%= render 'shared/cancel', link: idv_cancel_path %> | ||
| <% else %> | ||
| <div class='margin-top-2 padding-top-1 border-top'> | ||
| <%= link_to(t('two_factor_authentication.choose_another_option'), two_factor_options_path) %> | ||
| </div> | ||
| <% end %> | ||
|
|
||
|
|
||
| <%= javascript_packs_tag_once( | ||
| 'clipboard', | ||
| 'ial2-consent-button', | ||
| 'document-capture-welcome', | ||
| ) %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.