Browse Source

Fixed a bug causing pricing page to error.

Dan Helfman 9 years ago
parent
commit
69d113142c
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      view/Upgrade_page.py

+ 0
- 7
view/Upgrade_page.py View File

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

Loading…
Cancel
Save