Terms will show inside USC dialog with unhelpful header+footer+padding
Bug #959247 reported by
Matthew Paul Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Apps Directory |
Fix Released
|
Low
|
Anthony Lenton | ||
software-center (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Software Center doesn't yet, but will, open a dialog containing the terms of use for purchasing software.
Because they are inside a dialog, the terms should not contain the usual header, footer, or outside padding for a Web page.
This could be achieved using an &format=plain URL parameter, or something like that.
Related branches
lp:~elachuni/ubuntu-webcatalog/plain-tos
- Canonical Consumer Applications Hackers: Pending requested
-
Diff: 96 lines (+49/-4)5 files modifiedsrc/webcatalog/templates/webcatalog/tos.html (+5/-0)
src/webcatalog/templates/webcatalog/tos_plain.html (+35/-0)
src/webcatalog/templates/webcatalog/tos_snippet.html (+1/-4)
src/webcatalog/tests/test_views.py (+6/-0)
src/webcatalog/urls.py (+2/-0)
Changed in ubuntu-webcatalog: | |
status: | New → Confirmed |
importance: | Undecided → Low |
milestone: | none → 12.03 |
Changed in ubuntu-webcatalog: | |
status: | Confirmed → In Progress |
assignee: | nobody → Anthony Lenton (elachuni) |
Changed in ubuntu-webcatalog: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-webcatalog: | |
status: | Fix Committed → Fix Released |
Changed in software-center (Ubuntu): | |
assignee: | nobody → software-center-developers (software-center-developers) |
Changed in software-center (Ubuntu): | |
status: | Fix Committed → Fix Released |
assignee: | software-center-developers (software-center-developers) → nobody |
To post a comment you must log in.
The proposed fix adds a plain version of the ToS on /cat/tos/plain/, instead of reusing the url that's there already with a GET argument. Please comment if that's not ok :)