Fix positioning of school kudos

This commit is contained in:
Seth Call 2016-04-26 06:58:14 -05:00
parent fea26d82f5
commit e27a3130c1
4 changed files with 4 additions and 10 deletions

View File

@ -39,7 +39,7 @@ module JamRuby
belongs_to :canceler, class_name: "JamRuby::User"
belongs_to :default_slot, class_name: "JamRuby::LessonBookingSlot", foreign_key: :default_slot_id, inverse_of: :defaulted_booking, :dependent => :destroy
belongs_to :counter_slot, class_name: "JamRuby::LessonBookingSlot", foreign_key: :counter_slot_id, inverse_of: :countered_booking, :dependent => :destroy
has_many :lesson_booking_slots, class_name: "JamRuby::LessonBookingSlot", :dependent => :delete_all
has_many :lesson_booking_slots, class_name: "JamRuby::LessonBookingSlot", :dependent => :destroy
has_many :lesson_sessions, class_name: "JamRuby::LessonSession", :dependent => :destroy
has_many :lesson_package_purchases, class_name: "JamRuby::LessonPackagePurchase", :dependent => :destroy

View File

@ -268,8 +268,8 @@ UserStore = context.UserStore
stripeSubmitted: (response) ->
logger.debug("stripe submitted: " + JSON.stringify(response))
if @state.shouldShowName
window.UserActions.refresh()
#if @state.shouldShowName
window.UserActions.refresh()
# if the response has a lesson, take them there
if response.lesson?.id?

View File

@ -516,7 +516,7 @@ body.web.individual_jamtrack {
}
&.teachers {
top:618px;
top:729px;
}
}
.jamtrack-overview-video {

View File

@ -23,12 +23,6 @@ describe "Test Drive", :js => true, :type => :feature, :capybara_feature => true
teacher_user.teacher.save!
Teacher.index(user, {})[:query].count.should eql 1
end
def finish_lesson_successfully(lesson_session)
successful_lesson(lesson_session)
end
describe "register via showing interesting in teacher 1st" do