External User Statistics: Show Log in new line

This commit is contained in:
Sebastian Serth
2024-01-09 01:01:57 +01:00
parent a3dbd3dd27
commit 421b015cdc

View File

@ -78,9 +78,9 @@ h1
td.align-middle td.align-middle
-this.testruns.sort_by {|t| [t.file&.name ? 0 : 1, t.file&.name]}.each do |run| -this.testruns.sort_by {|t| [t.file&.name ? 0 : 1, t.file&.name]}.each do |run|
- if run.passed - if run.passed
.unit-test-result.positive-result title=[run.file&.filepath, run.log].join.strip .unit-test-result.positive-result title=[run.file&.filepath, run.log].join("\n").strip
- else - else
.unit-test-result.unknown-result title=[run.file&.filepath, run.log].join.strip .unit-test-result.unknown-result title=[run.file&.filepath, run.log].join("\n").strip
td = @working_times_until[index] if index > 0 if policy(@exercise).detailed_statistics? td = @working_times_until[index] if index > 0 if policy(@exercise).detailed_statistics?
- elsif this.is_a? UserExerciseIntervention - elsif this.is_a? UserExerciseIntervention
td = this.created_at.strftime("%F %T") td = this.created_at.strftime("%F %T")