Merge lp:~deryck/launchpad/subscribe-to-bug-mail-twice-577768 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Deryck Hodge |
Approved revision: | no longer in the source branch. |
Merged at revision: | 10899 |
Proposed branch: | lp:~deryck/launchpad/subscribe-to-bug-mail-twice-577768 |
Merge into: | lp:launchpad |
Diff against target: |
35 lines (+0/-10) 1 file modified
lib/lp/bugs/browser/bugtask.py (+0/-10) |
To merge this branch: | bzr merge lp:~deryck/launchpad/subscribe-to-bug-mail-twice-577768 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+25532@code.launchpad.net |
Commit message
Remove extra "Subscribe to bug mail" link.
Description of the change
This is a fix for bug 577768, which notes that there were two 'Subscribe
to bug mail' links on certain bug listings.
This fixes that by removing the subscribe link from the
BugTaskSearchLi
here to remove elif sections that return () the same as the final
catch-all return.
I didn't add a test to ensure there is only one link, since that seemed
overkill to me. The existing tests continue to pass because the primary
'subscribe to bug mail' link is still there.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/