fix issue where complete lessons have messed up hover

This commit is contained in:
Seth Call 2016-07-09 13:31:06 -05:00
parent cdd78f1b94
commit e2ae17755a
3 changed files with 4 additions and 4 deletions

View File

@ -59,14 +59,14 @@ module JamRuby
subject = "Unable to charge user #{charged_user.email} for lesson #{self.id} (stripe)"
body = "user=#{charged_user.email}\n\nbilling_error_reason=#{billing_error_reason}\n\nbilling_error_detail = #{billing_error_detail}"
AdminMailer.alerts({subject: subject, body: body})
AdminMailer.alerts({subject: subject, body: body}).deliver
do_send_unable_charge
return false
rescue Exception => e
subject = "Unable to charge user #{charged_user.email} for lesson #{self.id} (unhandled)"
body = "user=#{charged_user.email}\n\nbilling_error_reason=#{billing_error_reason}\n\nbilling_error_detail = #{billing_error_detail}"
AdminMailer.alerts({subject: subject, body: body})
AdminMailer.alerts({subject: subject, body: body}).deliver
unhandled_handler(e)
return false
end

View File

@ -29,7 +29,7 @@
}
.bt-content {
height:80px;
height:60px;
width:100px;
background-color:#333;
overflow:auto;

View File

@ -14,7 +14,7 @@ script type='text/template' id='template-lesson-session-actions'
li data-lesson-option="attach-audio"
a href='#' Attach Audio File
= '{% } else if (data.isActive) { %}'
= '{% } else if (data.isScheduled) { %}'
ul
li data-lesson-option="status"
a href='#' View Status