Merge lp:~sinzui/launchpad/launchpad-header-1 into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 11315 |
| Proposed branch: | lp:~sinzui/launchpad/launchpad-header-1 |
| Merge into: | lp:launchpad |
| Diff against target: |
250 lines (+18/-24) 12 files modified
lib/canonical/launchpad/icing/style-3-0.css.in (+1/-1) lib/lp/answers/templates/faq-index.pt (+2/-2) lib/lp/answers/templates/question-index.pt (+2/-2) lib/lp/app/templates/base-layout.pt (+3/-3) lib/lp/blueprints/templates/sprint-index.pt (+2/-3) lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+2/-0) lib/lp/code/templates/sourcepackagerecipebuild-index.pt (+0/-2) lib/lp/registry/templates/distribution-index.pt (+0/-2) lib/lp/registry/templates/distributionmirror-index.pt (+4/-4) lib/lp/registry/templates/distroseries-index.pt (+0/-2) lib/lp/soyuz/stories/ppa/xx-copy-packages.txt (+2/-1) lib/lp/soyuz/templates/build-index.pt (+0/-2) |
| To merge this branch: | bzr merge lp:~sinzui/launchpad/launchpad-header-1 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brad Crittenden (community) | code | Approve on 2010-08-06 | |
| Paul Hummer (community) | ui | 2010-08-06 | Approve on 2010-08-06 |
|
Review via email:
|
|||
Description of the Change
This is my branch to clean up the content in the registration slot and move
it.
lp:~sinzui/launchpad/launchpad-header-1
Diff size: 214
Launchpad bug:
https:/
Test command: ./bin/test -vv \
-t xx-malone-
-t test_base_layout -t base-layout
Pre-
Target release: 10.08
Clean up the content in the registration slot and move it
-------
Henning argues that aesthetics and reading bread crumbs is more important
than clearly knowing the context that the registration slot pertains too.
distroseries page places blocks in registration slot. The a <p> is inserted
into the slot and that creates extra spaces. This may be true for other pages.
Rules
-----
* Move the slot below the bread crumbs
* Remove all block content from the registration slot.
* ADDENDUM: distributionmir
QA
--
The expected layout looks like this:
http://
* Visit https:/
* Verify the registration information is below the breadcrumbs with
about .5m separate between them
Lint
----
Linting changed files:
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Test
----
No tests changed. This is expected. This is the second branch dealing with
the header and we knew we wanted to move the registration slot. The tests
in the previous branch (all listed above) were updated to not break with
the next move.
Implementation
--------------
The registration slot move.
* lib/canonical/
* Henning suggest 1em between the bread crumbs and the registration
slot, I made it half an em so that it was closer to the name than the
narrative.
* lib/lp/
* Move the registration slot
Remove the <p> that created extra white space before and after the
registration text.
* lib/lp/
* lib/lp/
* lib/lp/
* lib/lp/
* lib/lp/
* lib/lp/
* lib/lp/
* lib/lp/
* lint reported invalid markup. The template was missing two closing
divs.

This looks fine. I'd still like to question the general worth of it going at the top of the page, but only in passing...