Make empty submissions not clickable

This commit is contained in:
Sebastian Serth
2021-11-16 13:32:51 +01:00
parent 571be87879
commit 21185ea4b3

View File

@ -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