Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions app/views/account_reset/recover/email_sent.html.slim
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- title t('doc_auth.titles.doc_auth')

= image_tag(asset_url('check-email.svg'),
alt: t('idv.titles.session.success'), width: 96)
= image_tag(asset_url('check-email.svg'), width: 96)

h1.h3.mb2.mt3.my0 = t('recover.request.email_sent', email: current_user.email)
3 changes: 1 addition & 2 deletions app/views/idv/cac/success.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

h5.my1.caps.bold.accent-blue = t('cac_proofing.step', step: 2)

= image_tag(asset_url('state-id-confirm@3x.png'),
alt: t('idv.titles.session.success'), width: 210)
= image_tag(asset_url('state-id-confirm@3x.png'), width: 210)

h1.h3.mb2.mt3.my0 = t('cac_proofing.headings.success')

Expand Down
6 changes: 2 additions & 4 deletions app/views/idv/capture_doc/capture_complete.html.slim
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
- title t('doc_auth.titles.doc_auth')

= image_tag(asset_url('alert/success.svg'),
alt: t('forms.webauthn_setup.success_title'), width: 60)
= image_tag(asset_url('alert/success.svg'), width: 60)

h1.h2.mb2.mt3.my0 = t('doc_auth.headings.capture_complete')
hr
h1.h2.mb2.mt3.my0 = t('doc_auth.instructions.switch_back')
= image_tag(asset_url('idv/switch.png'),
alt: t('forms.webauthn_setup.success_title'), width: 193)
= image_tag(asset_url('idv/switch.png'), width: 193)
2 changes: 1 addition & 1 deletion app/views/idv/come_back_later/show.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= image_tag(asset_url('come-back.svg'),
size: '140', alt: t('idv.titles.come_back_later'), class: 'block mx-auto')
size: '140', class: 'block mx-auto')
h2.center = t('idv.titles.come_back_later')
.mt2.p3.col-12.center.border-box.border.border-teal.rounded-xl
p
Expand Down
3 changes: 1 addition & 2 deletions app/views/idv/doc_auth/_back_of_state_id_image.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
= image_tag(asset_url('state-id-back.svg'),
alt: t('doc_auth.headings.upload_back'), height: 140)
= image_tag(asset_url('state-id-back.svg'), height: 140)
br
br
3 changes: 1 addition & 2 deletions app/views/idv/doc_auth/_front_of_state_id_image.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
= image_tag(asset_url('state-id-front.svg'),
alt: t('doc_auth.headings.upload_front'), height: 140)
= image_tag(asset_url('state-id-front.svg'), height: 140)
br
br
3 changes: 1 addition & 2 deletions app/views/idv/doc_auth/doc_success.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('doc_auth.titles.doc_auth')

= image_tag(asset_url('state-id-confirm@3x.png'),
alt: t('idv.titles.session.success'), width: 210)
= image_tag(asset_url('state-id-confirm@3x.png'), width: 210)

h1.h3.mb2.mt3.my0 = t('doc_auth.forms.doc_success')

Expand Down
3 changes: 1 addition & 2 deletions app/views/idv/doc_auth/email_sent.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('doc_auth.titles.doc_auth')

= image_tag(asset_url('state-id-confirm@3x.png'),
alt: t('idv.titles.session.success'), width: 210)
= image_tag(asset_url('state-id-confirm@3x.png'), width: 210)

h1.h3.mb2.mt3.my0 = t('doc_auth.instructions.email_sent', email: current_user.email)

Expand Down
3 changes: 1 addition & 2 deletions app/views/idv/doc_auth/recover.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('doc_auth.titles.doc_auth')

= image_tag(asset_url('alert/success.svg'),
alt: t('forms.webauthn_setup.success_title'), width: 60)
= image_tag(asset_url('alert/success.svg'), width: 60)

h1.h1.mb2.mt3.my0 = t('recover.reverify.email_confirmed')
hr
Expand Down
3 changes: 1 addition & 2 deletions app/views/idv/doc_auth/recover_fail.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('doc_auth.titles.doc_auth')

= image_tag(asset_url('alert/success.svg'),
alt: t('forms.webauthn_setup.success_title'), width: 60)
= image_tag(asset_url('alert/success.svg'), width: 60)

h1.h2.mb2.mt3.my0 = t('recover.reverify.fail')

Expand Down
3 changes: 1 addition & 2 deletions app/views/idv/in_person/bar_code.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ p.mt-tiny.mb3 == t('in_person_proofing.info.enrollment_form')
table.pl4.pr3.monospace
tr
td.center
= image_tag(asset_url('idv/bar_code.png'),
alt: t('doc_auth.headings.upload_back'), height: 140)
= image_tag(asset_url('idv/bar_code.png'), height: 140)
br
br
.center.mt1
Expand Down
4 changes: 1 addition & 3 deletions app/views/idv/jurisdiction/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<% title t('idv.titles.jurisdiction') %>
<%= image_tag(asset_url('state-id-none@3x.png'),
alt: t('idv.titles.jurisdiction'),
width: 210) %>
<%= image_tag(asset_url('state-id-none@3x.png'), width: 210) %>
<h1 class="h3"><%= t('idv.messages.jurisdiction.why') %></h1>

<p class="mt4 mb0" id="jurisdiction-label">
Expand Down
3 changes: 1 addition & 2 deletions app/views/idv/sessions/success.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('idv.titles.session.success')

= image_tag(asset_url('state-id-confirm@3x.png'),
alt: t('idv.titles.session.success'), width: 210)
= image_tag(asset_url('state-id-confirm@3x.png'), width: 210)

h1.h3.mb2.mt3.my0 = t('idv.titles.session.success')

Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/user_mailer.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ html xmlns="http://www.w3.org/1999/xhtml"
tr
th
= image_tag(attachments['logo.png'].url,
alt: t('mailer.sent_from', app: APP_NAME),
size: '142x19',
style: 'width: 142px; height: 19px;')
th.expander
Expand Down
3 changes: 1 addition & 2 deletions app/views/shared/_failure.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<% title presenter.title %>

<%= image_tag(asset_url(presenter.state_icon),
alt: presenter.state_alt_text, width: 54) %>
<%= image_tag(asset_url(presenter.state_icon), width: 54) %>

<h1 class="h3 mb1 mt3 my0">
<%= presenter.header %>
Expand Down
3 changes: 1 addition & 2 deletions app/views/users/backup_code_setup/edit.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('forms.backup_code_regenerate.confirm')

= image_tag(asset_url('alert/warning-lg.svg'),
alt: t('forms.backup_code_regenerate.confirm'), width: 54)
= image_tag(asset_url('alert/warning-lg.svg'), width: 54)

h1.h3.mb1.mt3.my0 = t('forms.backup_code_regenerate.confirm')

Expand Down
2 changes: 1 addition & 1 deletion app/views/users/totp_setup/new.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ul.list-reset
= accordion('totp-info', t('instructions.mfa.authenticator.accordion_header'),
wrapper_css: 'mb2 col-12 fs-16p') do
.center
= image_tag @qrcode, alt: t('users.totp_setup.new.qr_img_alt'), skip_pipeline: true
= image_tag @qrcode, skip_pipeline: true
li.py2.border-top
.mb2
.mr1.inline-block.circle.circle-number.bg-blue.white
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% title t('titles.two_factor_setup_success') %>

<%= image_tag asset_url('alert/success.svg'), alt: t('headings.mfa_success'), width: 90 %>
<%= image_tag asset_url('alert/success.svg'), width: 90 %>

<h1 class="h3 mb2 mt3 my0"><%= t('headings.mfa_success', method: @presenter.first_mfa_enabled) %></h1>

Expand Down
3 changes: 1 addition & 2 deletions app/views/users/webauthn_setup/delete.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- title t('forms.webauthn_delete.confirm')

= image_tag(asset_url('alert/warning-lg.svg'),
alt: t('forms.webauthn_delete.confirm'), width: 54)
= image_tag(asset_url('alert/warning-lg.svg'), width: 54)

h1.h3.mb1.mt3.my0 = t('forms.webauthn_delete.confirm')

Expand Down
9 changes: 9 additions & 0 deletions config/initializers/asset_tag_helper_patch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module ActionView
module Helpers
module AssetTagHelper
def image_alt(_src)
''
end
end
end
end
1 change: 0 additions & 1 deletion config/locales/forms/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,3 @@ en:
keys as you want, and we recommend at least two for easier account recovery.
login_text: Press the button on your security key to sign in with login.gov
nickname: Security key nickname
success_title: You have added a security key as your authentication method
1 change: 0 additions & 1 deletion config/locales/forms/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,3 @@ es:
login_text: Presione el botón en su clave de seguridad para iniciar sesión con
login.gov
nickname: Apodo clave de seguridad
success_title: Has añadido una clave de seguridad como tu método de autenticación.
1 change: 0 additions & 1 deletion config/locales/forms/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,3 @@ fr:
login_text: Appuyez sur le bouton de votre clé de sécurité pour vous connecter
avec login.gov
nickname: Pseudo clé de sécurité
success_title: Vous avez ajouté une clé de sécurité comme méthode d'authentification.
1 change: 0 additions & 1 deletion config/locales/mailer/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ en:
help: If you need help, visit %{link}
no_reply: Please do not reply to this message.
privacy_policy: Privacy policy
sent_from: Sent from %{app}
1 change: 0 additions & 1 deletion config/locales/mailer/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ es:
help: Si necesita ayuda, visite %{link}
no_reply: Por favor, no responda a este mensaje.
privacy_policy: Póliza de privacidad
sent_from: Enviado desde %{app}
1 change: 0 additions & 1 deletion config/locales/mailer/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ fr:
help: Si vous avez besoin d’aide, visitez le site %{link}
no_reply: Veuillez ne pas répondre à ce message.
privacy_policy: Politique de confidentialité
sent_from: Envoyé à partir de %{app}
3 changes: 0 additions & 3 deletions config/locales/users/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ en:
generated_on_html: Generated on %{date}
header: Your personal key
print: Print this page
totp_setup:
new:
qr_img_alt: QR Code for Authenticator App
3 changes: 0 additions & 3 deletions config/locales/users/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ es:
generated_on_html: Generado el %{date}
header: Su clave personal
print: Imprima esta página
totp_setup:
new:
qr_img_alt: Código de QR para la app de autenticación
3 changes: 0 additions & 3 deletions config/locales/users/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ fr:
generated_on_html: Générée le %{date}
header: Votre clé personnelle
print: Imprimer cette page
totp_setup:
new:
qr_img_alt: Code QR pour l'application d'authentification