Merge lp:~rvb/launchpad/upgrade-display into lp:launchpad

Proposed by Raphaël Badin
Status: Merged
Approved by: Raphaël Badin
Approved revision: no longer in the source branch.
Merged at revision: 13873
Proposed branch: lp:~rvb/launchpad/upgrade-display
Merge into: lp:launchpad
Diff against target: 18 lines (+2/-2)
1 file modified
lib/lp/registry/templates/distroseries-localdifferences.pt (+2/-2)
To merge this branch: bzr merge lp:~rvb/launchpad/upgrade-display
Reviewer Review Type Date Requested Status
Gavin Panella (community) Approve
Review via email: mp+73640@code.launchpad.net

Commit message

[r=allenap][bug=830982] Fix call to action.available in localpackagediffs.

Description of the change

This branch fixes the call to action.available to really call the method.

= Tests =

No tests

= QA =

The upgrade button should not be displayed if the FF soyuz.derived_series_upgrade.enabled is not enabled.

To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/lp/registry/templates/distroseries-localdifferences.pt'
--- lib/lp/registry/templates/distroseries-localdifferences.pt 2011-08-30 22:42:01 +0000
+++ lib/lp/registry/templates/distroseries-localdifferences.pt 2011-09-01 09:23:34 +0000
@@ -85,12 +85,12 @@
85 upgrade view/actions/byname/field.actions.upgrade|nothing">85 upgrade view/actions/byname/field.actions.upgrade|nothing">
86 <input class="button" type="submit" disabled="true"86 <input class="button" type="submit" disabled="true"
87 title="Please use a Javascript-enabled browser to sync packages."87 title="Please use a Javascript-enabled browser to sync packages."
88 tal:condition="python:sync and sync.available"88 tal:condition="python:sync and sync.available()"
89 tal:attributes="value sync/label;89 tal:attributes="value sync/label;
90 name sync/__name__;90 name sync/__name__;
91 id sync/__name__;" />91 id sync/__name__;" />
92 <input class="button" type="submit"92 <input class="button" type="submit"
93 tal:condition="python: upgrade and upgrade.available"93 tal:condition="python: upgrade and upgrade.available()"
94 tal:attributes="value upgrade/label;94 tal:attributes="value upgrade/label;
95 name upgrade/__name__;95 name upgrade/__name__;
96 id upgrade/__name__;" />96 id upgrade/__name__;" />