Closed Bug 738410 Opened 12 years ago Closed 11 years ago

[bedrock] fix formatting of download buttons for unsupported platforms

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlong, Assigned: jlong)

References

(Blocks 1 open bug)

Details

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.
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?"
(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.
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
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
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
Closed: 11 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.