Merge lp:~bac/charmworld/bug-1234780 into lp:~juju-jitsu/charmworld/trunk
Proposed by
Brad Crittenden
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Brad Crittenden | ||||
Approved revision: | 418 | ||||
Merged at revision: | 418 | ||||
Proposed branch: | lp:~bac/charmworld/bug-1234780 | ||||
Merge into: | lp:~juju-jitsu/charmworld/trunk | ||||
Diff against target: |
73 lines (+32/-3) 3 files modified
charmworld/models.py (+5/-1) charmworld/templates/bundle.pt (+4/-2) charmworld/tests/test_models.py (+23/-0) |
||||
To merge this branch: | bzr merge lp:~bac/charmworld/bug-1234780 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Gui Bot | continuous-integration | Approve | |
Benji York (community) | Approve | ||
Review via email: mp+190676@code.launchpad.net |
Commit message
Make bundle series a top-level property and allow it to be optional.
Description of the change
The page template for bundles was referencing bundle.data.series, which may not exist. It was the only reference to a non-property so I created a bundle.series property and return the value specified or None. The page template now displays the series conditionally.
Even when ingest proofs bundles, the series will remain optional, so this work will still be required.
To post a comment you must log in.
Perfect in every way.