witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug causing pricing page to error.

This commit is contained in:
Dan Helfman 2009-07-12 15:25:07 -07:00
parent b907098688
commit 69d113142c
1 changed files with 0 additions and 7 deletions

View File

@ -9,7 +9,6 @@ class Upgrade_page( Product_page ):
def __init__( self, user, notebooks, first_notebook, login_url, logout_url, rate_plan, groups, rate_plans, unsubscribe_button ):
MEGABYTE = 1024 * 1024
rate_plans = list( rate_plans )[ 0:1 ] # only the free rate plan is shown
user_plan = rate_plans[ user.rate_plan ]
Product_page.__init__(
self,
@ -74,12 +73,6 @@ class Upgrade_page( Product_page ):
class_ = u"upgrade_table_area",
),
user and user.username not in ( u"anonymous", None ) and P(
u"You're currently subscribed to Luminotes %s." %
user_plan[ u"name" ].capitalize(),
( user.rate_plan > 0 ) and unsubscribe_button or None,
) or None,
Div(
u"Don't want to take notes online? ",
A( u"Download Luminotes Desktop", href = u"/download" ),