Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesStoehr committed Jun 22, 2024
1 parent 9b14d32 commit 93ef487
Show file tree
Hide file tree
Showing 44 changed files with 124 additions and 124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2>
submission.participation!.id!,
'submissions',
submission.id!,
'assessment'
'assessment',
]"
class="btn btn-outline-secondary btn-sm mb-1"
>
Expand All @@ -70,7 +70,7 @@ <h2>
submission.participation!.exercise!.id!,
'submissions',
submission.id,
'assessment'
'assessment',
]"
class="btn btn-outline-secondary btn-sm mb-1"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h4>{{ 'artemisApp.assessmentDashboard.tutorPerformanceIssues.title' | artemisTr
tutorName: issue.tutorName,
numberOfTutorItems: issue.numberOfTutorItems,
averageTutorValue: issue.averageTutorValue.toFixed(1),
threshold: issue.allowedRange.lowerBound.toFixed(1)
threshold: issue.allowedRange.lowerBound.toFixed(1),
}
}}
</li>
Expand All @@ -267,7 +267,7 @@ <h4>{{ 'artemisApp.assessmentDashboard.tutorPerformanceIssues.title' | artemisTr
tutorName: issue.tutorName,
numberOfTutorItems: issue.numberOfTutorItems,
averageTutorValue: issue.averageTutorValue.toFixed(1),
threshold: issue.allowedRange.upperBound.toFixed(1)
threshold: issue.allowedRange.upperBound.toFixed(1),
}
}}
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h3>
course: course,
programmingExerciseCountCallback: setProgrammingExerciseCount.bind(this),
exerciseFilter: exerciseFilter,
filteredProgrammingExercisesCountCallback: setFilteredProgrammingExerciseCount.bind(this)
filteredProgrammingExercisesCountCallback: setFilteredProgrammingExerciseCount.bind(this),
}
"
[embedded]="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h3>{{ 'artemisApp.plagiarism.plagiarismCases.conversation' | artemisTranslate }
'day'
)
: posts[0].creationDate.add(7, 'day')
).format('DD.MM.YYYY')
).format('DD.MM.YYYY'),
}
"
></h5>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
[ngClass]="{
'table-success': tutorialGroup.isUserRegistered,
'is-user-tutor': tutorialGroup.isUserTutor,
'is-user-not-tutor': !tutorialGroup.isUserTutor
'is-user-not-tutor': !tutorialGroup.isUserTutor,
}"
[tutorialGroup]="tutorialGroup"
[course]="course"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h4>
: {
median: this.aggregatedExamResults.medianRelativePassed
? roundScoreSpecifiedByCourseSettings(this.aggregatedExamResults.medianRelativePassed, course)
: 0
: 0,
}
}}
</label>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/app/exam/manage/exam-status.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h6 class="text-center">{{ 'artemisApp.examStatus.preparation.' + (isTestExam ?
| artemisTranslate
: {
generated: numberOfGeneratedStudentExams,
total: exam.numberOfExamUsers
total: exam.numberOfExamUsers,
}
}}
</span>
Expand Down Expand Up @@ -240,7 +240,7 @@ <h6 class="text-center">{{ 'artemisApp.examStatus.correction.examCorrection' | a
| artemisTranslate
: {
done: examChecklist.numberOfAllComplaintsDone!,
total: examChecklist.numberOfAllComplaints!
total: examChecklist.numberOfAllComplaints!,
}
}}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ <h3>{{ 'artemisApp.examStatus.conduction.' + (isTestExam ? 'testExam.' : '') + '
| artemisTranslate
: {
from: exam.startDate! | artemisDate,
to: exam.endDate! | artemisDate
to: exam.endDate! | artemisDate,
}
}}</b>
<div class="table-responsive">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h5 class="group-title font-weight-bold mb-0">{{ exerciseGroup.title }}</h5>
? {}
: {
deleteStudentReposBuildPlans: 'artemisApp.programmingExercise.delete.studentReposBuildPlans',
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans'
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans',
}
"
(delete)="deleteExerciseGroup(exerciseGroup.id, $event)"
Expand Down Expand Up @@ -254,7 +254,7 @@ <h5 class="group-title font-weight-bold mb-0">{{ exerciseGroup.title }}</h5>
'exercise-groups',
exerciseGroup.id,
exercise.type + '-exercises',
exercise.id
exercise.id,
]"
>
<span>{{ exercise.id }}</span>
Expand All @@ -278,7 +278,7 @@ <h5 class="group-title font-weight-bold mb-0">{{ exerciseGroup.title }}</h5>
'exercise-groups',
exerciseGroup.id,
exercise.type + '-exercises',
exercise.id
exercise.id,
]"
>
<span>{{ exercise.title }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3>
(delete)="removeAllStudents($event)"
[dialogError]="dialogError$"
[additionalChecks]="{
deleteParticipationsAndSubmission: 'artemisApp.examManagement.examStudents.removeFromExam.deleteParticipationsAndSubmission'
deleteParticipationsAndSubmission: 'artemisApp.examManagement.examStudents.removeFromExam.deleteParticipationsAndSubmission',
}"
deleteConfirmationText="artemisApp.studentExams.removeAllStudents.confirmationText"
>
Expand Down Expand Up @@ -258,7 +258,7 @@ <h3>
deleteConfirmationText="artemisApp.examManagement.examStudents.removeFromExam.typeNameToConfirm"
(delete)="removeFromExam(value, $event)"
[additionalChecks]="{
deleteParticipationsAndSubmission: 'artemisApp.examManagement.examStudents.removeFromExam.deleteParticipationsAndSubmission'
deleteParticipationsAndSubmission: 'artemisApp.examManagement.examStudents.removeFromExam.deleteParticipationsAndSubmission',
}"
[dialogError]="dialogError$"
[requireConfirmationOnlyForAdditionalChecks]="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h2 class="col-md-6" style="text-align: center; font-weight: normal" id="exam-fi
'artemisApp.examParticipation.finish'
| artemisTranslate
: {
title: exam.title
title: exam.title,
}
}}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3>
<tr
[ngClass]="{
'font-italic text-danger font-weight-bold': exercise.includedInOverallScore === IncludedInOverallScore.NOT_INCLUDED,
'font-italic text-warning font-weight-bold': exercise.includedInOverallScore === IncludedInOverallScore.INCLUDED_AS_BONUS
'font-italic text-warning font-weight-bold': exercise.includedInOverallScore === IncludedInOverallScore.INCLUDED_AS_BONUS,
}"
(click)="scrollToExercise(exercise.id)"
[class.not-included-in-score]="exercise.includedInOverallScore === IncludedInOverallScore.NOT_INCLUDED"
Expand Down Expand Up @@ -112,7 +112,7 @@ <h3>
| artemisTranslate
: {
achievedPoints: overallAchievedPoints,
normalPoints: maxPoints
normalPoints: maxPoints,
}
}}
}
Expand All @@ -122,7 +122,7 @@ <h3>
| artemisTranslate
: {
achievedPoints: overallAchievedPoints,
normalPoints: maxPoints
normalPoints: maxPoints,
}
}}
}
Expand All @@ -132,7 +132,7 @@ <h3>
| artemisTranslate
: {
achievedBonus: studentExamWithGrade.studentResult.gradeWithBonus.bonusGrade,
bonusFromTitle: studentExamWithGrade.studentResult.gradeWithBonus.bonusFromTitle
bonusFromTitle: studentExamWithGrade.studentResult.gradeWithBonus.bonusFromTitle,
}
}}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h4 jhiTranslate="artemisApp.modelingSubmission.assessment.title"></h4>
[ngClass]="{
'text-secondary': feedback.isSubsequent,
'text-success': feedback.credits! > 0 && feedback.isSubsequent === undefined,
'text-danger': feedback.credits! < 0 && feedback.isSubsequent === undefined
'text-danger': feedback.credits! < 0 && feedback.isSubsequent === undefined,
}"
><strong>Feedback:</strong> <span [innerHTML]="buildFeedbackTextForReview(feedback)"></span
></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
badge: true,
'bg-success': fileStatus === FileStatus.CREATED,
'bg-warning': fileStatus === FileStatus.RENAMED,
'bg-danger': fileStatus === FileStatus.DELETED
'bg-danger': fileStatus === FileStatus.DELETED,
}"
></span>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h2><span jhiTranslate="artemisApp.programmingExercise.detail.title"></span> {{
? {}
: {
deleteStudentReposBuildPlans: 'artemisApp.programmingExercise.delete.studentReposBuildPlans',
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans'
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans',
}
"
deleteConfirmationText="artemisApp.exercise.delete.typeNameToConfirm"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
'programming-exercises',
programmingExercise.id,
'code-editor',
programmingExercise.templateParticipation.id
programmingExercise.templateParticipation.id,
]"
class="btn btn-warning btn-sm me-1 mb-1"
style="display: flex; justify-content: center; align-items: center"
Expand Down Expand Up @@ -274,7 +274,7 @@
? {}
: {
deleteStudentReposBuildPlans: 'artemisApp.programmingExercise.delete.studentReposBuildPlans',
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans'
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans',
}
"
deleteConfirmationText="artemisApp.exercise.delete.typeNameToConfirm"
Expand Down Expand Up @@ -324,7 +324,7 @@
? {}
: {
deleteStudentReposBuildPlans: 'artemisApp.programmingExercise.delete.studentReposBuildPlans',
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans'
deleteBaseReposBuildPlans: 'artemisApp.programmingExercise.delete.baseReposBuildPlans',
}
"
class="me-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
repositoryBadge;
context: {
helpIconText: 'artemisApp.programmingExercise.preview.templateRepoTooltip',
trailingRepoSlug: '-exercise'
trailingRepoSlug: '-exercise',
}
"
/>
Expand All @@ -20,7 +20,7 @@
repositoryBadge;
context: {
helpIconText: 'artemisApp.programmingExercise.preview.solutionRepoTooltip',
trailingRepoSlug: '-solution'
trailingRepoSlug: '-solution',
}
"
/>
Expand All @@ -29,7 +29,7 @@
repositoryBadge;
context: {
helpIconText: 'artemisApp.programmingExercise.preview.testRepoTooltip',
trailingRepoSlug: '-tests'
trailingRepoSlug: '-tests',
}
"
/>
Expand All @@ -41,7 +41,7 @@
repositoryBadge;
context: {
trailingRepoSlug: '-' + auxiliaryRepository.name,
isAuxRepo: true
isAuxRepo: true,
}
"
/>
Expand All @@ -63,7 +63,7 @@
context: {
helpIconText: 'artemisApp.programmingExercise.preview.templateBuildPlanTooltip',
trailingRepoSlug: '-BASE',
isBuildPlan: true
isBuildPlan: true,
}
"
/>
Expand All @@ -73,7 +73,7 @@
context: {
helpIconText: 'artemisApp.programmingExercise.preview.solutionBuildPlanTooltip',
trailingRepoSlug: '-SOLUTION',
isBuildPlan: true
isBuildPlan: true,
}
"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ <h3 class="mb-0"><span class="badge bg-warning align-text-top" style="width: 60p
top: dropLocation.posY! / 2 + '%',
left: dropLocation.posX! / 2 + '%',
width: dropLocation.width! / 2 + '%',
height: dropLocation.height! / 2 + '%'
height: dropLocation.height! / 2 + '%',
}"
(mousedown)="dropLocationMouseDown(dropLocation)"
(cdkDropListDropped)="onDragDrop(dropLocation, $event)"
Expand Down
Loading

0 comments on commit 93ef487

Please sign in to comment.