|
|
|
@ -326,9 +326,9 @@ module ExercisesHelper
|
|
|
|
|
|
|
|
|
|
if exercise_status == 2 && exercise_end_time.present?
|
|
|
|
|
ex_left_time = how_much_time(exercise_end_time)
|
|
|
|
|
elsif exercise_status == 3 && course.end_date.present?
|
|
|
|
|
ex_left_time = how_much_time(course.end_date.to_time)
|
|
|
|
|
else
|
|
|
|
|
# elsif exercise_status == 3 && course.end_date.present?
|
|
|
|
|
# ex_left_time = how_much_time(course.end_date.to_time)
|
|
|
|
|
else #已截止后不显示时间
|
|
|
|
|
ex_left_time = nil
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|