Closed
Bug 335014
Opened 18 years ago
Closed 18 years ago
Make install links html and hide with javascript
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Bugzilla-alanjstrBugs, Assigned: clouserw)
References
()
Details
Attachments
(1 file, 1 obsolete file)
5.38 KB,
patch
|
Details | Diff | Splinter Review |
Please change the addon.tpl so that we write out the divs, hide those that are not appropriate via script, and remove the noscript. Item of concern: What if JS is off, and there are no compatible versions? So the user would just see that there isn't a compatible version?
Updated•18 years ago
|
Severity: normal → minor
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 1•18 years ago
|
||
I think this covers all cases. - Fully cross-platform extensions get one install link, and no script. - Extensions with multiple XPIs get all the links written out. - The script loops through them, and hides foreign platforms. - If it has hidden all the links, it inserts a "not available" note. I've also made the install box a little bit wider so that "Install Now for Windows (XXX KB)" fits without wrapping.
Attachment #219423 -
Flags: first-review?(clouserw)
Assignee | ||
Updated•18 years ago
|
Attachment #219423 -
Flags: first-review?(clouserw) → first-review+
Assignee | ||
Comment 2•18 years ago
|
||
I +'d your patch, but I ended up making a couple minor adjustments. When there was only 1 OS, it would display the link no matter what OS you were on (eg. visit on linux and it would offer the link for windows). Other than that, I think it's a lot cleaner code - thanks. :)
Assignee: rdmsoft → clouserw
Attachment #219423 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: 2.1 → ---
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•