Allow supervisors to request improvements from final seminar opponents #78
@ -30,6 +30,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<wicket:enclosure>
|
||||||
|
<div class="alert alert-info">
|
||||||
|
<p>
|
||||||
|
You've requested improvements to the opposition report with the below comment.
|
||||||
|
If they do not make the requested improvements in time, they will get an automatic failing grade.
|
||||||
|
The system will notify you when they've submitted a new report.
|
||||||
|
</p>
|
||||||
|
<span wicket:id="improvements_requested"></span>
|
||||||
|
</div>
|
||||||
|
</wicket:enclosure>
|
||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label>Points:</label>
|
<label>Points:</label>
|
||||||
<select class="form-select" wicket:id="points"></select>
|
<select class="form-select" wicket:id="points"></select>
|
||||||
|
@ -249,6 +249,19 @@ public class SeminarOppositionPanel extends Panel {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
IModel<String> improvementComment = finalSeminarOpposition.map(
|
||||||
|
FinalSeminarOpposition::getSupervisorCommentForImprovements
|
||||||
|
);
|
||||||
|
add(
|
||||||
|
new Label("improvements_requested", improvementComment) {
|
||||||
|
@Override
|
||||||
|
protected void onConfigure() {
|
||||||
|
super.onConfigure();
|
||||||
|
setVisible(!getDefaultModelObjectAsString().isBlank());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
FormComponent<OppositionCriteria.Point> pointsField = new DropDownChoice<>(
|
FormComponent<OppositionCriteria.Point> pointsField = new DropDownChoice<>(
|
||||||
POINTS,
|
POINTS,
|
||||||
pointsModel,
|
pointsModel,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user