Skip to content

Commit

Permalink
Edit Instructor: Position
Browse files Browse the repository at this point in the history
- it is now possible to reset the instructor's position
  • Loading branch information
tomas-muller committed Oct 25, 2023
1 parent 90efaad commit e85f1ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions JavaSource/org/unitime/timetable/action/InstructorAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ protected void doUpdate() throws Exception {
if (pt != null) {
inst.setPositionType(pt);
}
} else {
inst.setPositionType(null);
}

if (form.getNote() != null && !form.getNote().isEmpty()) {
Expand Down
6 changes: 6 additions & 0 deletions WebContent/help/Release-Notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
<line>Added an ability for departmental schedule managers to unsubmit the survey directly from the Instructor Survey page/dialog (meaning save and unsubmit).</line>
</description>
</item>
<item>
<name>Edit Instructor</name>
<description>
<line>It is now possible to reset the instructor's position.</line>
</description>
</item>
</category>
<category>
<title>Batch Student Scheduling</title>
Expand Down
2 changes: 1 addition & 1 deletion WebContent/user/instructor.jspf
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<TR>
<TD><loc:message name="propertyInstructorPosition"/></TD>
<TD>
<s:select name="form.posType" list="#request.posTypeList" listKey="uniqueId" listValue="label" headerKey="" headerValue="%{#const.select()}"></s:select>
<s:select name="form.posType" list="#request.posTypeList" listKey="uniqueId" listValue="label" headerKey="" headerValue="%{#msg.valueNotSet()}"></s:select>
</TD>
</TR>
</s:if>
Expand Down

0 comments on commit e85f1ce

Please sign in to comment.