Merge lp://staging/~adiroiban/launchpad/bug-121520-merged into lp://staging/launchpad
Proposed by
Adi Roiban
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Graham Binns | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp://staging/~adiroiban/launchpad/bug-121520-merged | ||||
Merge into: | lp://staging/launchpad | ||||
Diff against target: |
110 lines (+62/-8) 3 files modified
lib/lp/translations/stories/standalone/xx-pofile-details.txt (+51/-1) lib/lp/translations/templates/pofile-details.pt (+6/-4) lib/lp/translations/templates/pofile-translate-contributors.pt (+5/-3) |
||||
To merge this branch: | bzr merge lp://staging/~adiroiban/launchpad/bug-121520-merged | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email: mp+16183@code.staging.launchpad.net |
Commit message
Don't show merged account in the list of contributors for a PO file.
To post a comment you must log in.
= Bug 121520 = /translations. launchpad. net/+languages/ st we can see that Leonardo Gregianin appears twice, one with this current account (leogregianin) and an old merged one, (leogregianin- merged.
On https:/
We should not show merged accounts as they lead to „dead” pages.
== Proposed fix ==
Add a condition in the template to skip account with merged=True
== Tests ==
lp-test -t pofile-details
== Demo and Q/A == /translations. staging. launchpad. net/+languages/ st
As I don't know how to create a merged account, and I assume it is not that trivial (no hints in the Factory) you can test it on staging
https:/
The current page test is check that the valid/active contributors are displayed.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ templates/ pofile- details. pt translations/ templates/ pofile- translate- contributors. pt
lib/lp/
lib/lp/