Skip to content

Commit

Permalink
Fix incorrectly defined table data when there are no evaluations (#3771)
Browse files Browse the repository at this point in the history
Closes #3770 

The `<td>` were missconstrued when the table had no data. The previous
version of Datatables might have been reslient to this. The default is
adequate:


![image](https://github.com/user-attachments/assets/75217159-20fe-411d-b232-edec471788dc)


Also applied some non-sortable classification to the relevant columns.
  • Loading branch information
chrisvanrun authored Jan 6, 2025
1 parent bc6bf9a commit 8a49dca
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<tr>
<th>Created</th>
<th>Updated</th>
<th>Evaluation</th>
<th>Submission</th>
<th class="nonSortable">Evaluation</th>
<th class="nonSortable">Submission</th>
<th>Status</th>
<th>Result</th>
<th class="nonSortable">Result</th>
</tr>
</thead>
<tbody>
Expand All @@ -29,8 +29,6 @@
{% endif %}
</td>
</tr>
{% empty %}
<tr><td colspan="100%" class="text-center">No evaluations</td></tr>
{% endfor %}
</tbody>
</table>
Expand Down

0 comments on commit 8a49dca

Please sign in to comment.