diff --git a/app/views/exercises/external_users/statistics.html.slim b/app/views/exercises/external_users/statistics.html.slim index ca5572ef..e894ac00 100644 --- a/app/views/exercises/external_users/statistics.html.slim +++ b/app/views/exercises/external_users/statistics.html.slim @@ -58,7 +58,8 @@ h1 - row_classes += ' after_late_deadline' if this.is_a?(Submission) && this.after_late_deadline? tr data-id=this.id class=row_classes - if this.is_a?(Submission) - td.clickable = this.created_at.strftime("%F %T") + td class=(this.files.present? ? 'clickable' : '') + = this.created_at.strftime("%F %T") td = this.cause td = this.score td.align-middle