Merge lp:~sinzui/launchpad/front-page-layout into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Curtis Hovey on 2012-03-26 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15014 | ||||
| Proposed branch: | lp:~sinzui/launchpad/front-page-layout | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
143 lines (+66/-1) 6 files modified
lib/lp/app/browser/root.py (+1/-0) lib/lp/app/browser/tales.py (+11/-0) lib/lp/app/browser/tests/test_launchpadroot.py (+20/-0) lib/lp/app/browser/tests/test_page_macro.py (+25/-0) lib/lp/app/templates/base-layout.pt (+2/-1) lib/lp/app/templates/root-index.pt (+7/-0) |
||||
| To merge this branch: | bzr merge lp:~sinzui/launchpad/front-page-layout | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Benji York (community) | code | 2012-03-23 | Approve on 2012-03-26 |
|
Review via email:
|
|||
Commit Message
Replace the launchpad watermark with the logo.
Description of the Change
Pre-implementation: no one
Launchpad root was switched to main_only layout when the locationless
layout was removed. The watermark does not align with the page content
because the root page defines its own styles :(
-------
RULES
* Add a hack to permit the Lp front page to say STFU to the watermark.
* Add the Lp logo and style hack beneath it to restore the previous
layout (removed in revno 14867).
QA
See https:/
for an example of the reverted change.
* Visit https:/
* Verify the application links are not shown.
* Verify the Lp logo is shown above the two columns
with a dotted line below it.
LINT
lib/
lib/
lib/
lib/
lib/
lib/
TEST
./bin/test -vv -t page_macro -t base_layout -t root lp.app.
IMPLEMENTATION
Added a hack to allow a view to say it does not have the watermark. We
do not want to make this easy for developers to do because the locationless
layout was abused causing lots of breadcrumb and heading issues.
lib/
lib/
lib/
Updated the launchpadRootView to state is does not have a watermark and
reverted the change to the page template made in revno 14867.
lib/
lib/
lib/

This looks good.