Merge lp:~sinzui/launchpad/lp-layout-0 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Curtis Hovey on 2010-06-13 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11005 |
| Proposed branch: | lp:~sinzui/launchpad/lp-layout-0 |
| Merge into: | lp:launchpad |
| Diff against target: |
82 lines (+16/-16) 2 files modified
lib/lp/app/browser/tests/base-layout.txt (+6/-7) lib/lp/app/templates/base-layout.pt (+10/-9) |
| To merge this branch: | bzr merge lp:~sinzui/launchpad/lp-layout-0 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paul Hummer (community) | code | 2010-06-13 | Approve on 2010-06-13 |
|
Review via email:
|
|||
Description of the Change
This is my branch to fix the layout of the main_side layout.
lp:~sinzui/launchpad/lp-layout-0
Diff size: 83
Launchpad bug:
https:/
Test command: ./bin/test -vv \
-t base-layout
Pre-
Target release: 10.06
Fix the layout of the main_side layout
-------
The main content goes underneath the side portlets. The main content
sits in a div yui-b combination, but I ended that tag prematurely in a recent
branch. This was caused my an errant move of the notifications markup
to avoid broken headers. I did not notice my mistake because I was only
looking at main_only pages. This bug affect main_side layouts.
Rules
-----
* Moved <metal:main define-slot="main" /> tag before the closing
tag of the div yui-b. The notifications will move too because they
must appear directly above the content.
QA
--
* Visit a main_side page layout on edge, such as a project +index
or its bug's page.
* Verify the main content does not appear under the side portlets.
Lint
----
Linting changed files:
lib/lp/
lib/lp/
Test
----
* lib/lp/
* Updated the tests to verify that the the div yui-b is closed
after the main content.
Implementation
--------------
* lib/lp/
* Moved the closing tag of the div yui-b after the main content slot.
