edit some syntax
This commit is contained in:
parent
8d8c2efa23
commit
8cb40effa5
|
@ -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
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue