This repository has been archived by the owner on May 10, 2019. It is now read-only.
/
verify_primary_user.ejs
49 lines (38 loc) · 1.69 KB
/
verify_primary_user.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<% if (requiredEmail) { %>
<strong><%= gettext('The site requested you sign in using') %></strong>
<div class="form_section">
<ul class="inputs">
<li>
<label for="email" class="serif"><%= gettext('Email') %></label>
<input id="required_email" class="sans" type="email" value="<%= email %>" disabled />
<div id="could_not_add" class="tooltip" for="required_email">
<%= gettext("We just sent an email to that address! If you really want to send another, wait a minute or two and try again.") %>
</div>
</li>
<li>
<%= gettext("You must sign in with your email provider to verify ownership of this address. This window will be redirected to") %>
<p>
<strong><%= auth_url %></strong>.
</p>
</li>
</ul>
<div class="submit cf">
<button id="VerifyWithPrimary"><%= gettext("Verify") %></button>
</div>
</div>
<% } else { %>
<strong><%= gettext("Verify With Email Provider") %></strong>
<div class="cf form_section">
<%= gettext("You must sign in with your email provider to verify ownership of this address. This window will be redirected to") %>
<p>
<strong><%= auth_url %></strong>.
</p>
<div class="submit cf">
<button id="verifyWithPrimary"><%= gettext("Verify") %></button>
<a href="#" id="cancel"><%= gettext("Cancel") %></a>
</div>
</div>
<% } %>