Merge lp:~deryck/launchpad/bug-page-distro-max-heat-532099 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Eleanor Berger on 2010-03-15 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | not available |
| Proposed branch: | lp:~deryck/launchpad/bug-page-distro-max-heat-532099 |
| Merge into: | lp:launchpad |
| Diff against target: |
55 lines (+34/-2) 2 files modified
lib/lp/bugs/browser/bugtask.py (+5/-1) lib/lp/bugs/stories/bugs/xx-bug-heat-on-bug-page.txt (+29/-1) |
| To merge this branch: | bzr merge lp:~deryck/launchpad/bug-page-distro-max-heat-532099 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Eleanor Berger (community) | code | 2010-03-15 | Approve on 2010-03-15 |
|
Review via email:
|
|||
Commit Message
Use distribution context on bug page when displaying flame icons for packages.
Description of the Change
This is a fix for bug 532099.
If a package has only a few bugs reported against it, then the bug page
for a bug with any heat at all will likely end up with four flame icons.
This is a bit weird for two reasons -- the bug has a low heat value and
users clicking through from a distro bug page with see flame when there
wasn't in the bug list.
To fix this, we use the distro context on the bug page for packages.
A test has been update for this change. Run it with:
./bin/test -cvvt xx-bug-
= 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/
lib/lp/
