diff --git a/static/css/quay.css b/static/css/quay.css index f9dbb870f..46c972cdd 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -670,13 +670,6 @@ i.toggle-icon:hover { margin-top: 5px; } -.plans-list .plan.small { - border: 1px solid #ddd; - border-top: 4px solid #428bca; - margin-top: 0px; - font-size: 1.6em; -} - .plans-list .plan.business-plan { border: 1px solid #eee; border-top: 4px solid #94F794; diff --git a/static/js/controllers.js b/static/js/controllers.js index 321d8cf9c..108b00ac0 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -33,19 +33,10 @@ function PlansCtrl($scope, $location, UserService, PlanService) { }; $scope.buyNow = function(plan) { + PlanService.notePlan(plan); if ($scope.user && !$scope.user.anonymous) { - document.location = '/user?plan=' + plan; + PlanService.handleNotedPlan(); } else { - PlanService.notePlan(plan); - $('#signinModal').modal({}); - } - }; - - $scope.createOrg = function(plan) { - if ($scope.user && !$scope.user.anonymous) { - document.location = '/organizations/new/?plan=' + plan; - } else { - PlanService.notePlan(plan); $('#signinModal').modal({}); } }; diff --git a/static/partials/plans.html b/static/partials/plans.html index 4b8e5a70e..ab90bd927 100644 --- a/static/partials/plans.html +++ b/static/partials/plans.html @@ -4,41 +4,22 @@