samigo: Split up the text label for the "allow late submissions" option in settings, so only the relevant part shows when not enabled.
Description
As part of the UI and text improvements in Samigo Settings in SAK-34323 and SAK-34674, the "Accept late submissions" option and date field has a label that includes a more meaningful name for the date (Late Submission Deadline).
Currently, when not selected, the entire text label is shown as follows, with no date field visible:
Accept late submissions. Late Submission Deadline:
It would look better if the label were split up as follows:
Radio button label - "Accept late submissions." (show all the time)
Date field label - "Late Submission Deadline:" (show only when "Accept late submissions" is selected)
Environment
None
Test Plan
In a site with Tests & Quizzes, create a new quiz from scratch and add at least one question.
Go to Settings.
In the Availability and Submissions section, the options for What is the Final Submission Deadline? should display as follows when The Due Date (No late submissions allowed) is selected:
The Due Date (No late submissions allowed)
Accept late submissions.
Select the Accept late submissions. option. Now the text label Late Submission Deadline: should appear after Accept late submissions. with the corresponding field to enter the deadline.
Open the Exceptions to Availability Dates and Time Limit section.
Select a user or group for whom to create an exception.
The options for What is the Final Submission Deadline? should behave the same as in normal assessment settings - when the Due Date is set as Final Submission Deadline, the second option should just say "Accept late submissions." When late submissions are enabled, the option should say "Accept late submissions. Late Submission Deadline:" and have the late submission deadline field available to enter the date in it.
Publish the quiz and repeat testing in the published copy to check that the Settings behave the same there.
As part of the UI and text improvements in Samigo Settings in SAK-34323 and SAK-34674, the "Accept late submissions" option and date field has a label that includes a more meaningful name for the date (Late Submission Deadline).
Currently, when not selected, the entire text label is shown as follows, with no date field visible:
It would look better if the label were split up as follows:
Radio button label - "Accept late submissions." (show all the time)
Date field label - "Late Submission Deadline:" (show only when "Accept late submissions" is selected)