diff --git a/src/main/webapp/app/exam/manage/student-exams/student-exam-detail.component.html b/src/main/webapp/app/exam/manage/student-exams/student-exam-detail.component.html
index 209f57a7707a..0800421b2302 100644
--- a/src/main/webapp/app/exam/manage/student-exams/student-exam-detail.component.html
+++ b/src/main/webapp/app/exam/manage/student-exams/student-exam-detail.component.html
@@ -170,8 +170,6 @@
Student Summary<
Summary
- }
- @if (course?.isAtLeastInstructor) {
- }
- @if (course?.isAtLeastInstructor) {
- }
- @if (course?.isAtLeastInstructor) {
- }
- @if (!localVCEnabled && course?.isAtLeastInstructor) {
@if (!hasExamStarted) {
diff --git a/src/main/webapp/app/exercises/programming/hestia/generation-overview/steps/code-hint-generation-step/code-hint-generation-step.component.html b/src/main/webapp/app/exercises/programming/hestia/generation-overview/steps/code-hint-generation-step/code-hint-generation-step.component.html
index 185ccfe9f572..daa764b342a3 100644
--- a/src/main/webapp/app/exercises/programming/hestia/generation-overview/steps/code-hint-generation-step/code-hint-generation-step.component.html
+++ b/src/main/webapp/app/exercises/programming/hestia/generation-overview/steps/code-hint-generation-step/code-hint-generation-step.component.html
@@ -2,8 +2,7 @@
-}
-@if (!isLoading) {
+} @else {
@if (codeHints?.length) {
- }
- @if (codeHints?.length === 0) {
- }
- @if (codeHints?.length) {
+ } @else {
}
-}
-@if (!isLoading && codeHints?.length) {
-
-
- @for (codeHint of codeHints; track codeHint) {
-
+ @if (codeHints?.length) {
+
+
- }
- @if (!isLoading) {
+ } @else {
@for (prerequisite of prerequisites; track identify(i, prerequisite); let i = $index) {
diff --git a/src/main/webapp/app/shared/consistency-check/consistency-check.component.html b/src/main/webapp/app/shared/consistency-check/consistency-check.component.html
index 8af70980c4c7..77fb3bb334ea 100644
--- a/src/main/webapp/app/shared/consistency-check/consistency-check.component.html
+++ b/src/main/webapp/app/shared/consistency-check/consistency-check.component.html
@@ -14,26 +14,24 @@
Consist
{{ 'loading' | artemisTranslate }}
- }
- @if (!isLoading) {
+ } @else {
- @if (inconsistencies.length === 0) {
+ @if (inconsistencies?.length) {
-
+
- No inconsistencies found
+ Following inconsistencies have been found
- }
- @if (inconsistencies.length > 0) {
+ } @else {
-
+
- Following inconsistencies have been found
+ No inconsistencies found
}
}
- @if (!isLoading && inconsistencies.length > 0) {
+ @if (!isLoading && inconsistencies?.length) {