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

mozilla / blurts-server / #12323

pending completion
#12323

push

circleci

Vinnl
Add a 404 error page

282 of 1373 branches covered (20.54%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 5 files covered. (100.0%)

959 of 3720 relevant lines covered (25.78%)

2.09 hits per line

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

0.0
/src/views/partials/notFound.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 notFound = data => `
×
8
<section class='not-found'>
9
  <img src="/images/404.svg" alt="" />
10
  <h1>
11
    ${getMessage('error-page-error-404-title', { errorCode: "<span class='error-code'>404</span>" })}
12
  </h1>
13
  <p>${getMessage('error-page-error-404-copy')}</p>
14
  <a id="home-cta" href="/" class="button primary">${getMessage('error-page-error-404-cta-button')}</a>
15
  <button id="back-cta" class="primary" hidden>${getMessage('error-page-error-404-cta-button')}</button>
16
</section>
17
`
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