Skip to content

Commit a36e3fb

Browse files
committed
Instructional Offering Detail: Configurations
- configuration tables do not show the configuration line on the Instructional Offering Detail page - scheduling subpart lines have blue background for not-offered courses
1 parent f8cd908 commit a36e3fb

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

JavaSource/org/unitime/timetable/server/courses/InstructionalOfferingTableBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,13 +1597,13 @@ private void buildSchedulingSubpartRow(ClassAssignmentProxy classAssignment, Exa
15971597
boolean isEditable = getSessionContext().hasPermission(ss, Right.SchedulingSubpartDetail);
15981598
boolean isOffered = !ss.getInstrOfferingConfig().getInstructionalOffering().isNotOffered();
15991599

1600-
LineInterface row = this.initRow(isOffered);
1600+
LineInterface row = this.initRow(true);
16011601

16021602
if (isEditable && isOffered)
16031603
row.setURL("subpart?id="+ss.getUniqueId());
16041604

16051605
this.buildClassOrSubpartRow(classAssignment, examAssignment, row, co, ss, indentSpaces, isEditable, null);
1606-
if (isSimple() && isOffered) row.setBgColor("#E1E1E1");
1606+
if (isSimple()) row.setBgColor("#E1E1E1");
16071607
table.addLine(row);
16081608
}
16091609

@@ -2490,7 +2490,7 @@ private OfferingConfigInterface generateTableForInstructionalOfferingConfig(Vect
24902490
ClassDurationType dtype = ioc.getEffectiveDurationType();
24912491

24922492
buildTableHeader(ret, getCurrentAcademicSessionId(), dtype == null ? MSG.columnMinPerWk() : dtype.getLabel());
2493-
buildConfigRow(subpartIds, classAssignment, examAssignment, ret, ioc.getInstructionalOffering().getControllingCourseOffering(), ioc, !getDisplayConfigOpButtons(), true);
2493+
buildConfigRow(subpartIds, classAssignment, examAssignment, ret, ioc.getInstructionalOffering().getControllingCourseOffering(), ioc, false, true);
24942494
ret.setAnchor("ioc" + ioc.getUniqueId());
24952495

24962496
return ret;

WebContent/help/Release-Notes.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
<line>Distribution Preferences table made sortable.</line>
5656
</description>
5757
</item>
58+
<item>
59+
<name>Instructional Offering Detail: Configurations</name>
60+
<description>
61+
<line>Configuration tables do not show the configuration line on the Instructional Offering Detail page.</line>
62+
<line>Scheduling subpart lines have blue background for not-offered courses.</line>
63+
</description>
64+
</item>
5865
</category>
5966
<category>
6067
<title>Examination Timetabling</title>

0 commit comments

Comments
 (0)