Merge lp:~sinzui/launchpad/front-page-footer-0 into lp:launchpad
Status: | Merged | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 11001 | ||||||||||||||||
Proposed branch: | lp:~sinzui/launchpad/front-page-footer-0 | ||||||||||||||||
Merge into: | lp:launchpad | ||||||||||||||||
Diff against target: |
915 lines (+197/-191) 15 files modified
lib/canonical/launchpad/icing/icon-sprites.positioning (+26/-22) lib/canonical/launchpad/icing/style-3-0.css.in (+4/-0) lib/canonical/launchpad/pagetests/basics/demo-and-lpnet.txt (+4/-13) lib/lp/app/browser/tests/base-layout.txt (+61/-81) lib/lp/app/templates/base-layout-macros.pt (+1/-3) lib/lp/app/templates/base-layout.pt (+9/-11) lib/lp/app/templates/root-index.pt (+66/-42) lib/lp/blueprints/stories/blueprints/05-reviews.txt (+3/-3) lib/lp/bugs/stories/bugtask-searches/xx-advanced-people-filters.txt (+8/-4) lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt (+2/-1) lib/lp/code/templates/bazaar-index.pt (+2/-2) lib/lp/registry/stories/milestone/object-milestones.txt (+4/-2) lib/lp/registry/stories/product/xx-product-add.txt (+2/-2) lib/lp/soyuz/stories/ppa/xx-copy-packages.txt (+1/-1) lib/lp/translations/stories/standalone/xx-pofile-translate.txt (+4/-4) |
||||||||||||||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/front-page-footer-0 | ||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+27311@code.launchpad.net |
Description of the change
This is my branch to fix some template and front page issues.
lp:~sinzui/launchpad/front-page-footer-0
Diff size: 528
Launchpad bug:
https:/
https:/
https:/
https:/
https:/
Test command: ./bin/test -vv \
-t base-layout.txt -t front-pages.txt -t xx-featuredprojects
Pre-
Target release: 10.06
Fix some template and front page issues
-------
Bug #321783 ["Contact us" should be "Contact Launchpad Support"]
The footer of each Launchpad page has a contact link labeled "Contact us".
To the casual visitor it is not obvious, who "us" is and if he/she is
viewing a project'
the project/
Bug #592324 [remove launchpad release version from the footer]
The launchpad release version is not helpful in the footer. Most servers
have revisions after the stated version. Even lpnet has revisions after
the stated version. Developers and testers need to use the revision
number, which is already in the page. Remove release version.
Bug #590575 [Launchpad main page has old bazaar homepage link]
Launchpad main page (https:/
for bazaar home page instead of http://
Bug #590621 [Complete the conversion to sprites]
Common pages are using <img> tags instead of sprites which have poor
performance.
Bug #524305 [Notification leaves header cloven in two]
Notifications split the 3.0 header from the page title.
Rules
-----
Bug #321783 ["Contact us" should be "Contact Launchpad Support"]
* It should be "Contact Launchpad Support". The important information
here is that this is support for Launchpad.
Bug #592324 [remove launchpad release version from the footer]
* Delete the text and link.
Bug #590575 [Launchpad main page has old bazaar homepage link]
* Update all occurrences of http://
http://
Bug #590621 [Complete the conversion to sprites]
* Update the Lp front page. It is the only page in lp/app that needs
fixing.
Bug #524305 [Notification leaves header cloven in two]
* Move the site message and notification block belove the bread crumbs.
QA
--
Bug #321783 ["Contact us" should be "Contact Launchpad Support"]
* Visit edge.
* Verify the page has a link to "Contact Launchpad Support" in the
footer.
Bug #592324 [remove launchpad release version from the footer]
* Visit edge.
* Verify 10.05 is not listed in the footer.
Bug #590575 [Launchpad main page has old bazaar homepage link]
* Visit http://
* Verify that the link the the bzr home page is
http://
* Visit http://
* Verify that the link the the bzr home page is
http://
Bug #590621 [Complete the conversion to sprites]
* Visit http://
* Verify that the Lp features section has the correct sprites for
the links.
* Visit http://
* Verify that the get started links have the correct sprites.
* Verify that we ask users to "Register a <project|
not care if it is new, and we love upstream teams and projects as
much as those hosted on Lp.
* Verify the feature project logo and displayname are shown.
Bug #524305 [Notification leaves header cloven in two]
* Visit a project series.
* Chose the subscribe link and subscribe/
* Verify the notification is below the bread crumbs above the page
content.
Lint
----
Linting changed files:
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Test
----
* lib/lp/
* Refactors the fragment tests to be more precise about what is under
test.
* Updated the footer test to verify that the Contact Launchpad Support
link is in the footer.
* Added a test for the position of notifications.
Implementation
--------------
Linting changed files:
* lib/canonical/
* Added a tour sprite rule. We will need to add add it to the sprite
file in the near future.
* lib/lp/
* Updated the test for the feedback link to Contact Launchpad Support
* Removed the link to the LaunchpadReleases version.
* lib/lp/
* Moved the position of the notifications to be between the breadcrumbs
and page content.
* lib/lp/
* Replaced the link icons with sprites.
* Fixed the link to bazaar.
* lib/lp/
* Fixed the links to bazaar.
Hi Curtis,
a nice branch. I have just two nitpicks, see below.
> === modified file 'lib/canonical/ launchpad/ icing/style- 3-0.css. in' launchpad/ icing/style- 3-0.css. in 2010-06-07 21:48:06 +0000 launchpad/ icing/style- 3-0.css. in 2010-06-10 22:20:48 +0000
> --- lib/canonical/
> +++ lib/canonical/
> @@ -1785,6 +1785,10 @@
> */
> padding:2px 0 0 18px;
> }
> +.tour {
> + background-image: url(/@@/tour-icon); /* needs-ref: */
> + background-repeat: no-repeat;
> + }
I think "needs-ref" above is worth an XXX.
> === modified file 'lib/lp/ app/templates/ root-index. pt' app/templates/ root-index. pt 2010-04-29 13:22:29 +0000 app/templates/ root-index. pt 2010-06-10 22:20:48 +0000 "not:view/ user" tal:content= "cache: anonymous" > launchpad- gold">Launchpad </span> is a software collaboration platform that provides:</h2> "apphomes view/apphomes"> "href apphomes/bugs"><img src="/@@/bug" alt="" /></a> "href apphomes/bugs">Bug tracking</a></li> "href apphomes/code"><img src="/@@/branch" alt="" /></a> "href apphomes/code">Code hosting</a> bazaar- vcs.org/">Bazaar</a></li> /help.launchpad .net/Code/ Review"><img src="/@@/yes" alt="" /></a> /help.launchpad .net/Code/ Review">Code reviews</a></li> "href apphomes/ ubuntu" ><img src="/@ @/ubuntu- icon" alt="" /></a> "href apphomes/ ubuntu" >Ubuntu package building and hosting</a></li> "href apphomes/ translations" ><img src="/@ @/translation" alt="" /></a> "href apphomes/ translations" >Translations< /a></li> /help.launchpad .net/Teams/ MailingLists"><img src="/@@/mail" alt="" /></a> /help.launchpad .net/Teams/ MailingLists">Mailing lists</a></li> "href apphomes/ answers" ><img src="/@@/question" alt="" /></a> "href apphomes/ answers" >Answer tracking and FAQs</a></li> "href apphomes/ blueprints" ><img src="/@@/blueprint" alt="" /></a> "href apphomes/ blueprints" >Specification tracking</a></li> "href apphomes/bugs">Bug tracking</a> "href apphomes/code">Code hosting</a> bazaar. canonical. com/">Bazaar</a> /help.launchpad .net/Code/ Review">Code reviews</a>
> --- lib/lp/
> +++ lib/lp/
> @@ -89,27 +89,42 @@
> tal:condition=
> <h2><span class="
> <ul tal:define=
> - <li><a tal:attributes=
> - <a tal:attributes=
> - <li><a tal:attributes=
> - <a tal:attributes=
> - using <a href="http://
> - <li><a href="https:/
> - <a href="https:/
> - <li><a tal:attributes=
> - <a tal:attributes=
> - <li><a tal:attributes=
> - <a tal:attributes=
> - <li><a href="https:/
> - <a href="https:/
> - <li><a tal:attributes=
> - <a tal:attributes=
> - <li><a tal:attributes=
> - <a tal:attributes=
> + <li>
> + <a class="sprite bug"
> + tal:attributes=
> + </li>
> + <li>
> + <a class="sprite branch"
> + tal:attributes=
> + using <a href="http://
> + </li>
> + <li>
> + <a class="sprite yes"
> + href="https:/
> + </li>
> +...