This commit is contained in:
parent
09eae9e253
commit
989407dad2
|
@ -211,6 +211,7 @@ module CoursesHelper
|
|||
return format("%.2f",teacher_stars == nil ? 0 : teacher_stars.stars)
|
||||
end
|
||||
|
||||
#获取指定作业的得分
|
||||
def project_score project
|
||||
issue_count = project.issues.count
|
||||
issue_journal_count = project.issue_changes.count
|
||||
|
|
Loading…
Reference in New Issue