Merge lp:~rvb/launchpad/initseries-bug-795537 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 13216 |
Proposed branch: | lp:~rvb/launchpad/initseries-bug-795537 |
Merge into: | lp:launchpad |
Diff against target: |
128 lines (+89/-0) 3 files modified
lib/lp/registry/browser/distroseries.py (+10/-0) lib/lp/registry/browser/tests/test_distroseries.py (+76/-0) lib/lp/registry/templates/distroseries-index.pt (+3/-0) |
To merge this branch: | bzr merge lp:~rvb/launchpad/initseries-bug-795537 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benji York (community) | code | Approve | |
Review via email: mp+64231@code.launchpad.net |
Commit message
[r=benji][bug=795537] Add the link +initseries to a distroseries' index page.
Description of the change
This branch adds the link +initseries to the home page of a distroseries.
This link is only displayed:
- if the feature flag (soyuz.
- to users with lp.Admin;
- if the series is not already initialized or currently initializing.
= Tests =
./bin/test -cvv test_distroseries test_difference
./bin/test -cvv test_distroseries test_difference
./bin/test -cvv test_distroseries test_difference
./bin/test -cvv test_distroseries test_difference
./bin/test -cvv test_distroseries test_difference
= Q/A =
On DF:
- as admin: make sure that the link is present on a series homepage.
- as non admin: make sure that the link is not present on a series homepage.
- as admin: the link should not be present for a series already initialized, or a series initializing.
This looks good.