We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f82755b + d735705 commit f231c47Copy full SHA for f231c47
app/components/course-admin/submissions-page/submission-details/diff-container.hbs
@@ -33,7 +33,13 @@
33
{{/each}}
34
{{else}}
35
<div class="bg-gray-800 p-4 text-white font-mono text-xs leading-relaxed rounded mb-4">
36
- This submission doesn't have any changed files.
+ {{#if @submission.hasChanges}}
37
+ This submission has changed files, but none of them were
38
+ {{@submission.repository.language.name}}
39
+ files.
40
+ {{else}}
41
+ This submission doesn't have any changed files.
42
+ {{/if}}
43
</div>
44
{{/if}}
45
0 commit comments