Merge lp:~bac/launchpad/bug-461164-downloadfix into lp:launchpad
Proposed by
Brad Crittenden
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~bac/launchpad/bug-461164-downloadfix |
Merge into: | lp:launchpad |
Diff against target: |
205 lines 1 file modified
lib/lp/registry/templates/product-files.pt (+90/-87) |
To merge this branch: | bzr merge lp:~bac/launchpad/bug-461164-downloadfix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+13969@code.launchpad.net |
Commit message
Clean up the +download page template to avoid generating extra vertical space. Also make changes to generate valid CSS identifiers.
To post a comment you must log in.
= Summary =
The +download page was creating extra vertical space. Some class ids were not proper
CSS as they were not unique and had _ instead of -.
== Proposed fix ==
Re-arranged some of the conditional elements to not generate unnecessary <p> and
other elements. Used fmt:css-id to ensure proper ids.
== Pre-implementation notes ==
Quick chat with Curtis.
== Implementation details ==
As above.
== Tests ==
No tests were changed. I'm running the full registry suite to ensure nothing has
been broken.
== Demo and Q/A ==
Go to https:/ /launchpad. dev/firefox. Create some extra series with no releases. /launchpad. dev/firefox/ +download and ensure there is not extra space at
View https:/
the bottom.
Inspect the generated HTML to ensure there are no invalid CSS elements.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ templates/ product- files.pt
lib/lp/