fix display of session time
This commit is contained in:
parent
c0e10cd657
commit
a7f2a69150
|
|
@ -948,6 +948,9 @@ SQL
|
|||
if scheduled_duration.class == String
|
||||
duration = scheduled_duration.to_i.seconds
|
||||
end
|
||||
if duration == 0
|
||||
duration = 30 * 60
|
||||
end
|
||||
duration
|
||||
end
|
||||
|
||||
|
|
@ -996,7 +999,7 @@ SQL
|
|||
"#{start_time.strftime("%A, %B %e")}, #{start_time.strftime("%l:%M").strip}-#{end_time.strftime("%l:%M %p").strip} #{timezone_display}"
|
||||
end
|
||||
else
|
||||
"#{start_time.strftime("%A, %B %e")} - #{start_time.strftime("%l:%M%P").strip}"
|
||||
"#{start_time.strftime("%A, %B %e")} - #{end_time.strftime("%l:%M%P").strip}"
|
||||
end
|
||||
|
||||
else
|
||||
|
|
|
|||
|
|
@ -502,7 +502,7 @@ UserStore = context.UserStore
|
|||
else if this.state.user.lesson_package_type_id == 'test-drive-2'
|
||||
explanation =`<span>You are purchasing the TestDrive package of JamClass by JamKazam. This purchase entitles you to take 2 private online music lessons - 1 each from 2 different instructors in the JamClass instructor community. The price of this TestDrive package is $29.99.</span>`
|
||||
else
|
||||
alert("You do not have a test drive package selected")
|
||||
alert("You do not have a test drive package selected: " + this.state.user.lesson_package_type_id )
|
||||
|
||||
|
||||
bookingDetail = `<p>{explanation}
|
||||
|
|
|
|||
Loading…
Reference in New Issue