• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / blurts-server / #12296

pending completion
#12296

push

circleci

web-flow
Merge pull request #2830 from mozilla/MNTOR-1160/add-new-email

Mntor 1160/add new email

282 of 1332 branches covered (21.17%)

Branch coverage included in aggregate %.

79 of 79 new or added lines in 7 files covered. (100.0%)

959 of 3548 relevant lines covered (27.03%)

2.2 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/views/partials/add-email.js
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4

5
import { getMessage } from '../../utils/fluent.js'
6

7
export const addEmail = data => `
×
8
<header>
9
  <button class='close'></button>
10
  <img src='/images/dialog-email-clouds.svg'>
11
  <h2>${getMessage('add-email-add-another-heading')}</h2>
12
</header>
13
<form>
14
  <p>${getMessage('add-email-your-account-includes', { total: data.emailLimit })}</p>
15
  <input type='hidden' name='csrf-token' value='${data.csrfToken}'>
16
  <label class='text-field'>
17
    <span>${getMessage('add-email-address-input-label')}</span>
18
    <input type='email' name='email-address' required>
19
  </label>
20
  <button class='primary' type='submit' name='email-submit'>${getMessage('add-email-send-verification-button')}</button>
21
</form>
22
<template data-success>
23
  <p class='add-email-success'>${getMessage('add-email-verify-the-link', {
24
     email: '<b class="current-email"></b>',
25
     'settings-href': 'href="/user/settings"'
26
    })}</p>
27
</template>
28
`
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc