Fix links for external user statistics

This commit is contained in:
Sebastian Serth
2021-11-16 11:57:43 +01:00
parent aa49731e49
commit f15bbe2c29

View File

@ -34,6 +34,7 @@ h1
datalist#datapoints
- index=0
- @submissions.each do |submission|
- next if submission.files.blank?
option data-submission=submission
=index
- index += 1
@ -56,8 +57,8 @@ h1
- row_classes += ' within_grace_period' if this.is_a?(Submission) && this.within_grace_period?
- row_classes += ' after_late_deadline' if this.is_a?(Submission) && this.after_late_deadline?
tr data-id=this.id class=row_classes
td.clickable = this.created_at.strftime("%F %T")
- if this.is_a?(Submission)
td.clickable = this.created_at.strftime("%F %T")
td = this.cause
td = this.score
td.align-middle
@ -68,6 +69,7 @@ h1
.unit-test-result.unknown-result title=[run.file&.name_with_extension, run.output].join("\n").strip
td = @working_times_until[index] if index > 0 if policy(@exercise).detailed_statistics?
- elsif this.is_a? UserExerciseIntervention
td = this.created_at.strftime("%F %T")
td = this.intervention.name
td =
td =