Use user-agent to provide relevant options
Bug #778562 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Apps Directory |
Fix Released
|
Medium
|
Danny Tamez |
Bug Description
As per bug 777454, it would be great to determine the users Ubuntu version (or lack of) from the user-agent and do things like:
* only include "Install" link when user's distroseries matches displayed app
* Display "Not available for your version of Ubuntu" when appropriate
* Display "Scribus is also available for your version of Ubuntu" with a link to correct distroseries version.
Related branches
lp:~canonical-isd-hackers/ubuntu-webcatalog/useragent_778562
- David Owen (community): Approve
-
Diff: 507 lines (+217/-60)10 files modifieddjango_project/config/main.cfg (+1/-0)
src/webcatalog/models.py (+5/-5)
src/webcatalog/schema.py (+1/-0)
src/webcatalog/templates/webcatalog/application_detail.html (+10/-1)
src/webcatalog/templates/webcatalog/application_overview_snippet.html (+1/-1)
src/webcatalog/tests/factory.py (+3/-3)
src/webcatalog/tests/test_models.py (+3/-3)
src/webcatalog/tests/test_views.py (+111/-34)
src/webcatalog/urls.py (+5/-4)
src/webcatalog/views.py (+77/-9)
lp:~canonical-isd-hackers/ubuntu-webcatalog/useragent_778562_patched_browsers
- Anthony Lenton (community): Approve
-
Diff: 75 lines (+35/-3)2 files modifiedsrc/webcatalog/tests/test_views.py (+19/-1)
src/webcatalog/views.py (+16/-2)
Changed in ubuntu-webcatalog: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: kb-feature sp-1 |
Changed in ubuntu-webcatalog: | |
status: | Confirmed → In Progress |
assignee: | nobody → Danny Tamez (zematynnad) |
Changed in ubuntu-webcatalog: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-webcatalog: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Currently works on Chromium but not FF