From 69d113142c926d492d2f35919f1a71e2ec6e01f4 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 12 Jul 2009 15:25:07 -0700 Subject: [PATCH] Fixed a bug causing pricing page to error. --- view/Upgrade_page.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/view/Upgrade_page.py b/view/Upgrade_page.py index c0b4c40..aa6d374 100644 --- a/view/Upgrade_page.py +++ b/view/Upgrade_page.py @@ -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" ),