Change default case to unkown type
This commit is contained in:
parent
692b89b5a9
commit
ec85b4fba5
|
|
@ -89,10 +89,14 @@ const text = computed(() => {
|
||||||
return {
|
return {
|
||||||
evaluationFinish: "a.Bewertung abschliessen",
|
evaluationFinish: "a.Bewertung abschliessen",
|
||||||
};
|
};
|
||||||
} else {
|
} else if (props.assignment.assignment_type === "PRAXIS_ASSIGNMENT") {
|
||||||
return {
|
return {
|
||||||
evaluationFinish: "a.Feedback abschliessen",
|
evaluationFinish: "a.Feedback abschliessen",
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
evaluationFinish: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ const text = computed(() => {
|
||||||
evaluationContinue: "a.Bewertung fortsetzen",
|
evaluationContinue: "a.Bewertung fortsetzen",
|
||||||
evaluationView: "a.Bewertung ansehen",
|
evaluationView: "a.Bewertung ansehen",
|
||||||
};
|
};
|
||||||
} else {
|
} else if (props.assignment.assignment_type === "PRAXIS_ASSIGNMENT") {
|
||||||
return {
|
return {
|
||||||
evaluationTitle: "Feedback",
|
evaluationTitle: "Feedback",
|
||||||
evaluationInstruction: "a.assignment.evaluationInstrumentDescriptionTextFeedback",
|
evaluationInstruction: "a.assignment.evaluationInstrumentDescriptionTextFeedback",
|
||||||
|
|
@ -35,6 +35,14 @@ const text = computed(() => {
|
||||||
evaluationContinue: "a.Feedback fortsetzen",
|
evaluationContinue: "a.Feedback fortsetzen",
|
||||||
evaluationView: "a.Feedback ansehen",
|
evaluationView: "a.Feedback ansehen",
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
evaluationTitle: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationInstruction: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationStart: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationContinue: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationView: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ const text = computed(() => {
|
||||||
evaluationFromUser: "a.Bewertung von x y",
|
evaluationFromUser: "a.Bewertung von x y",
|
||||||
evaluationSuccess: "a.Deine Bewertung für x y wurde freigegeben.",
|
evaluationSuccess: "a.Deine Bewertung für x y wurde freigegeben.",
|
||||||
};
|
};
|
||||||
} else {
|
} else if (props.assignment.assignment_type === "PRAXIS_ASSIGNMENT") {
|
||||||
return {
|
return {
|
||||||
evaluationCriteria: "Feedback",
|
evaluationCriteria: "Feedback",
|
||||||
evaluationReason: "assignment.evaluationFeedback",
|
evaluationReason: "assignment.evaluationFeedback",
|
||||||
|
|
@ -61,6 +61,16 @@ const text = computed(() => {
|
||||||
evaluationFromUser: "a.Feedback von x y",
|
evaluationFromUser: "a.Feedback von x y",
|
||||||
evaluationSuccess: "a.Dein Feedback für x y wurde freigegeben.",
|
evaluationSuccess: "a.Dein Feedback für x y wurde freigegeben.",
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
evaluationCriteria: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationReason: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationDescription: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationSubmit: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationSubmission: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationFromUser: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationSuccess: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,12 +45,18 @@ const text = computed(() => {
|
||||||
evaluationReason: "assignment.evaluationReason",
|
evaluationReason: "assignment.evaluationReason",
|
||||||
evaluationReasonPlaceholder: "assignment.justificationRequiredText",
|
evaluationReasonPlaceholder: "assignment.justificationRequiredText",
|
||||||
};
|
};
|
||||||
} else {
|
} else if (props.assignment.assignment_type === "PRAXIS_ASSIGNMENT") {
|
||||||
return {
|
return {
|
||||||
evaluationCriteria: "Feedback",
|
evaluationCriteria: "Feedback",
|
||||||
evaluationReason: "assignment.evaluationFeedback",
|
evaluationReason: "assignment.evaluationFeedback",
|
||||||
evaluationReasonPlaceholder: "assignment.feedbackRequiredText",
|
evaluationReasonPlaceholder: "assignment.feedbackRequiredText",
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
evaluationCriteria: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationReason: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
evaluationReasonPlaceholder: "UNKNOWN ASSIGNMENT TYPE",
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue