Merge lp:~dev-nigelj/launchpad/bug-810551 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gavin Panella | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 13846 | ||||
Proposed branch: | lp:~dev-nigelj/launchpad/bug-810551 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
88 lines (+54/-4) 3 files modified
lib/lp/registry/browser/announcement.py (+2/-0) lib/lp/registry/browser/tests/test_announcements.py (+47/-0) lib/lp/registry/templates/announcement-macros.pt (+5/-4) |
||||
To merge this branch: | bzr merge lp:~dev-nigelj/launchpad/bug-810551 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Nigel Jones (community) | Needs Resubmitting | ||
Review via email: mp+73673@code.launchpad.net |
Commit message
[r=allenap][bug=810551] Show announcement date alongside the target and author information.
Description of the change
Summary
Bug 810551 describes an observation that the announcement date is not easily obtainable when reading the full announcement, and is a request for the date to be put in a logical place.
Proposed/
The proposed fix was to modify the format the date is shown on the announcements list, and instead include it in with the announcement location and author.
It now displays as:
"Written for (product|
Tests
bin/test -t registry
and
bin/test -t announcement
Both ran clean.
Demo QA
with sample data, https:/
This is a nice improvement. You could even go further and remove the leading date from the titles on +announcements, but this is good on its own.
It does, however, need a test, even though there wasn't one before. I haven't done any coding in a while, and found myself too tempted to resist writing one myself - http:// paste.ubuntu. com/679849/ - if you'd like to use it.