witten
/
luminotes
Archived
1
0
Fork 0

Upgrade page now properly handles storage quota of None.

This commit is contained in:
Dan Helfman 2008-08-18 18:11:25 -07:00
parent f6fbf724f3
commit 71c48b8f05
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ class Upgrade_page( Product_page ):
class_ = u"feature_name", class_ = u"feature_name",
), ),
[ Td( [ Td(
plan[ u"storage_quota_bytes" ] // MEGABYTE, " MB", plan[ u"storage_quota_bytes" ] and "%s MB" % ( plan[ u"storage_quota_bytes" ] // MEGABYTE ) or u"unlimited",
) for plan in rate_plans ], ) for plan in rate_plans ],
), ),
Tr( Tr(
@ -328,7 +328,7 @@ class Upgrade_page( Product_page ):
), ),
Tr( Tr(
[ Td( [ Td(
plan[ u"storage_quota_bytes" ] // MEGABYTE, " MB", plan[ u"storage_quota_bytes" ] and "%s MB" % ( plan[ u"storage_quota_bytes" ] // MEGABYTE ) or u"unlimited",
) for plan in rate_plans ], ) for plan in rate_plans ],
), ),
border = u"1", border = u"1",