[bedrock] fix formatting of download buttons for unsupported platforms

RESOLVED FIXED

Status

www.mozilla.org
General
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: jlongster, Assigned: jlongster)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

6 years ago
Need to make sure download buttons work for people with javascript disabled or something from an unsupported platform.

See https://github.com/mozilla/bedrock/issues/31 for background.
(Assignee)

Comment 1

6 years ago
sgarrity wrote in the github issue:

"I've got this under way over in my fork (b861826). I'm wondering how to deal with the no-JS situation.

We've got a NOSCRIPT tag, that outputs the same thing as the .unsupported-download block, but by default, we show the .windows version of the download button. So, right now, without JS enabled, you see the unsupported AND Windows downloads, which doesn't usually fit, and looks odd. Any suggestions?"
(Assignee)

Comment 2

6 years ago
(In reply to James Long (:jlongster) from comment #1)
> sgarrity wrote in the github issue:
> 
> "I've got this under way over in my fork (b861826). I'm wondering how to
> deal with the no-JS situation.
> 
> We've got a NOSCRIPT tag, that outputs the same thing as the
> .unsupported-download block, but by default, we show the .windows version of
> the download button. So, right now, without JS enabled, you see the
> unsupported AND Windows downloads, which doesn't usually fit, and looks odd.
> Any suggestions?"

That's a good point, since we can now show a default thing we don't need the noscript stuff anymore. It still might be useful for the platform images (to avoid download more than needed) but here I think we can just remove it.
(Assignee)

Comment 3

6 years ago
Oh, but it shows the Windows button too. If we want the default to be the "unsupported" button we can make it that an then use js to show a button, like it did before. I can work on this.
Assignee: nobody → jlong
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org

Updated

5 years ago
Blocks: 813052
I think this has been fixed at some point.

* if JavaScript is disabled: users will see 4 download buttons (Windows, Mac, Linux and Android).
* on unsupported platforms: users will see the following message:

> Your system doesn't meet the requirements to run Firefox.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.