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

mozilla / blurts-server / #13042

pending completion
#13042

push

circleci

mansaj
Merge branch 'main' into MNTOR-1356

282 of 1601 branches covered (17.61%)

Branch coverage included in aggregate %.

433 of 433 new or added lines in 31 files covered. (100.0%)

959 of 4327 relevant lines covered (22.16%)

1.85 hits per line

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

0.0
/src/views/partials/unsubscribe.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
const unsubscribe = data => `
×
8
  <section class="unsubscribe">
9
    <h1>${getMessage('unsub-headline')}</h1>
10
    <p>${getMessage('unsub-blurb')}</p>
11
    <button
12
      class='primary js-unsubscribe-button'
13
      data-csrf-token='${data.csrfToken}'
14
    >
15
      ${getMessage('unsub-button')}
16
    </button>
17
  </section>
18
`
19

20
const unsubscribeMonthly = () => `
×
21
  <section class="unsubscribe">
22
    <h1>${getMessage('unsub-headline')}</h1>
23
    <p>${getMessage('changes-saved')}</p>
24
  </section>
25
`
26

27
export {
28
  unsubscribe,
29
  unsubscribeMonthly
30
}
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