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
38 changes: 38 additions & 0 deletions app/assets/images/id-card.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/javascripts/assets.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ window.LoginGov = window.LoginGov || {};
window.LoginGov.assets = {};

<% keys = [
'clock.svg',
'close-white-alt.svg'
'close-white-alt.svg',
'id-card.svg',
] %>

<% keys.each do |key| %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Image from './image';
function SubmissionPending() {
return (
<div>
<Image assetPath="clock.svg" alt="" width="50" height="50" />
<Image assetPath="id-card.svg" alt="" width="216" height="116" />
<h2>We are processing your images…</h2>
<p>This might take up to a minute. We’ll load the next step automatically when it’s done.</p>
<p>Thanks for your patience!</p>
Expand Down
4 changes: 3 additions & 1 deletion spec/svg_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
it 'does not contain inline style tags (that render poorly in IE due to CSP)' do
doc = Nokogiri::XML(File.read(svg_path))

expect(doc.css('style')).to be_empty
expect(doc.css('style')).to be_empty.or(
have_attributes(text: match(%r{^\s*/\*\s*lint-ignore\s*\*/})),
)
end
end
end
Expand Down