Merge lp:~sinzui/launchpad/something-and-nothing into lp:launchpad
Proposed by
Curtis Hovey
on 2010-02-26
| Status: | Merged |
|---|---|
| Merged at revision: | not available |
| Proposed branch: | lp:~sinzui/launchpad/something-and-nothing |
| Merge into: | lp:launchpad |
| Diff against target: |
136 lines (+36/-25) 6 files modified
lib/lp/app/templates/launchpad-search.pt (+4/-8) lib/lp/registry/browser/person.py (+1/-1) lib/lp/registry/stories/mailinglists/subscriptions.txt (+15/-1) lib/lp/registry/stories/team/xx-team-home.txt (+0/-1) lib/lp/registry/templates/team-portlet-mailinglist.pt (+15/-13) lib/lp/registry/templates/team-portlet-membership.pt (+1/-1) |
| To merge this branch: | bzr merge lp:~sinzui/launchpad/something-and-nothing |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paul Hummer (community) | code | 2010-02-26 | Approve on 2010-02-26 |
|
Review via email:
|
|||
To post a comment you must log in.
| Curtis Hovey (sinzui) wrote : | # |
Download full text (3.9 KiB)

This is my branch to fix some trivial issues in pages.
lp:~sinzui/launchpad/something-and-nothing /bugs.launchpad .net/bugs/ 518217 /bugs.launchpad .net/bugs/ 525566 /bugs.launchpad .net/bugs/ 429216 mailinglists/ subscriptions implementation: no-one
Diff size: 145
Launchpad bug: https:/
https:/
https:/
Test command: ./bin/test -vv \
-t site-search
-t stories/
-t xx-team-home
Pre-
Target release: 10.02
Fix some trivial issues ------- ------- ---
-------
Bug #518217 [search navigation has two blue bars] /edge.launchpad .net/+search
Recent changes to CSS or markup has created an extra blue bar above the
BatchNavigation on https:/
Bug #525566 ["Subscribe to mailing list" link shown when I am not a member]
Like the title says. The problem was caused by the use of an ambiguous
method.
Bug #429216 ["You are not a member of this team. You are an indirect member
of this team" is confusing]
When you're an indirect member of a team, it tells you that you're not a
member, but you are. The template is missing "tal:" in front of the
condition, so the non-member rule is always shown even though the template
does not intend to show it.
Rules
-----
Bug #518217 [search navigation has two blue bars] links-upper and @@+navigation- links-lower, so the markup
The extra blue bars are created by redundant markup. The markup was moved
to @@+navigation-
in the template can be deleted.
Bug #525566 ["Subscribe to mailing list" link shown when I am not a member] unsubscribe subscribe_ to_list( ) to make it clear
The template assumes the user is a member for the subscribe/
actions. Wrap the two actions in a guard to ensure the user is a member.
Update the the doc for user_can_
that is is for joining a team.
Bug #429216 ["You are not a member of this team. You are an indirect member
of this team" is confusing]
Add "tal:" in front of the condition in the template.
QA
--
Bug #518217 [search navigation has two blue bars]
Search for 'gedit' in launchpad, verify that the batch navigation is
not preceed by an extra blue bar.
Bug #525566 ["Subscribe to mailing list" link shown when I am not a member] /edge.launchpad .net/~drizzle- discuss
* Visit https:/
* Verify you are not shown (+) Subscribe to mailing list
Bug #429216 ["You are not a member of this team. You are an indirect member /edge.launchpad .net/~launchpad -bugs
of this team" is confusing]
* Visit https:/
* Verify you do not see "You are not a member of this team."
Lint
----
Linting changed files: app/templates/ launchpad- search. pt registry/ browser/ person. py registry/ stories/ mailinglists/ subscriptions. txt registry/ stories/ team/xx- team-home. txt registry/ templates/ team-portlet- mailinglist. pt registry/ templates/ team-portlet- membership. pt
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Test
----
* lib/lp/ registry/ stories/ mailinglists/ subscriptions. txt registry/ stories/ team/xx- team-home. txt
* Clarified what a member sees on the team page.
* Added a test to verify what a non-member sees.
* lib/lp/
* Corrected the test to not look f...