-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option to 'clean' a course just after unarchiving it #2291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some things that I see that need to be fixed. I have implemented all of these in a pull request that I will submit to this branch.
templates/ContentGenerator/CourseAdmin/unarchive_course_confirm.html.ep
Outdated
Show resolved
Hide resolved
templates/ContentGenerator/CourseAdmin/unarchive_course_form.html.ep
Outdated
Show resolved
Hide resolved
templates/ContentGenerator/CourseAdmin/unarchive_course_form.html.ep
Outdated
Show resolved
Hide resolved
Implement suggestions in my review of openwebwork#2291.
9fa8b7a
to
3b63977
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good now and is a useful feature.
I made the two edits that you caught, thanks. |
72c0a93
to
3282c74
Compare
3282c74
to
910e125
Compare
This looks good. I was getting a number of errors related to existing directories--some due to failed unarchiving. This is unrelated to this PR, but I wonder about being able to handle some of this better--either removing a new course directory if it fails to be made or the ability to overwrite an existing directory. |
This adds a checkbox to the unarchive course page, and if checked, then when the course is unarchived it will be "cleaned". Cleaning means:
Another small thing is that this removes the checkbox for giving a new course name. If you've entered something into the field for the new course name, that is enough, and the checkbox is redundant.