edit some syntax

This commit is contained in:
Erica Wright 2017-07-27 14:54:36 -04:00
parent 8d8c2efa23
commit 8cb40effa5
No known key found for this signature in database
GPG Key ID: D9F2AF9D67D0AAB7
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ app.get('/', (req, res) => {
});
app.get('/unsupported/:reason', (req, res) => {
const outdated = req.params.reason === 'outdated'? true : false;
const outdated = req.params.reason === 'outdated';
res.render('unsupported', {
outdated: outdated
});

View File

@ -2,7 +2,7 @@
<div class="title" data-l10n-id="notSupportedHeader"></div>
{{#if outdated}}
<div class="description" data-l10n-id="notSupportedOutdatedDetail"></div>
<a id="update-firefox" href="https://support.mozilla.org/az/kb/update-firefox-latest-version">
<a id="update-firefox" href="https://support.mozilla.org/kb/update-firefox-latest-version">
<img src="/resources/firefox_logo-only.svg" class="firefox-logo" alt="Firefox"/>
<div class="unsupported-button-text" data-l10n-id="updateFirefox"></div>
</a>