Merge lp:~kfogel/launchpad/515584-fix-DRY-violation into lp:launchpad/db-devel
Proposed by
Karl Fogel
Status: | Merged |
---|---|
Approved by: | Eleanor Berger |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~kfogel/launchpad/515584-fix-DRY-violation |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
88 lines (+30/-34) 2 files modified
lib/lp/bugs/browser/bugtarget.py (+24/-6) lib/lp/bugs/templates/bugtarget-patches.pt (+6/-28) |
To merge this branch: | bzr merge lp:~kfogel/launchpad/515584-fix-DRY-violation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eleanor Berger (community) | code ui | Approve | |
Review via email: mp+19990@code.launchpad.net |
Commit message
Fix a DRY violation between the +patches template and view. Note that although some of the commits say they're about using a Zope form, we went with a different solution instead. See the bug for details.
To post a comment you must log in.
Fix a DRY violation between the +patches template and view. Note that although the original plan was to use a Zope form, we ended up using a different solution instead. See the comments at bug #515584 for why.
Note there is a very trivial UI change here: the sort orderings have slightly different user-visible names (e.g., "Patch age" instead of "patch age"). I'm not sure if that needs UI review or not.