From 421b015cdc7f0cf9193d5a8647683b7f24eac072 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 9 Jan 2024 01:01:57 +0100 Subject: [PATCH] External User Statistics: Show Log in new line --- app/views/exercises/external_users/statistics.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/exercises/external_users/statistics.html.slim b/app/views/exercises/external_users/statistics.html.slim index dd43c334..17386f79 100644 --- a/app/views/exercises/external_users/statistics.html.slim +++ b/app/views/exercises/external_users/statistics.html.slim @@ -78,9 +78,9 @@ h1 td.align-middle -this.testruns.sort_by {|t| [t.file&.name ? 0 : 1, t.file&.name]}.each do |run| - 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 - .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? - elsif this.is_a? UserExerciseIntervention td = this.created_at.strftime("%F %T")