]> git.ipfire.org Git - ipfire.org.git/blobdiff - webapp/ui_modules.py
Drop wishlist
[ipfire.org.git] / webapp / ui_modules.py
index 98f79ea08b9a23236f48ffa9d9c73723bb53114b..945af36eba9bb80a62c7167686460ec09184f9db 100644 (file)
@@ -52,10 +52,6 @@ class UIModule(tornado.web.UIModule):
        def talk(self):
                return self.handler.talk
 
-       @property
-       def wishlist(self):
-               return self.handler.wishlist
-
 
 class AdvertisementModule(UIModule):
        def render(self, where):
@@ -375,29 +371,6 @@ class TalkOngoingCallsModule(UIModule):
                        account=account, channels=channels, debug=debug)
 
 
-class WishlistModule(UIModule):
-       def render(self, wishes, short=False):
-               return self.render_string("wishlist/modules/wishlist.html",
-                       wishes=wishes, short=short)
-
-
-class WishModule(UIModule):
-       def render(self, wish, short=False):
-               progress_bar = "progress-bar-warning"
-
-               if wish.percentage >= 100:
-                       progress_bar = "progress-bar-success"
-
-               return self.render_string("wishlist/modules/wish.html",
-                       wish=wish, short=short, progress_bar=progress_bar)
-
-
-class WishlistItemsModule(UIModule):
-       def render(self, wishlist_items):
-               return self.render_string("modules/wishlist-items.html",
-                       wishlist_items=wishlist_items)
-
-
 class DonationBoxModule(UIModule):
        def render(self, reason_for_transfer=None):
                if reason_for_transfer: