Skip to content
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

979 syllabus upload button change #1005

Merged
merged 23 commits into from
Jul 20, 2023

Conversation

ojmakinde
Copy link
Contributor

The upload button on the Course Proposal page has been updated. In the process of replacing it with the existing view in the Create Event page, the team decided it would be best to integrate the Create Event code into a function, and have it called wherever it is needed.

In the process of refactoring, certain parts of the function were optimized and condensed, improving readability and conciseness.

The function now exists in base.js, and is called in the CreateEvent.js and slcNewProposal.js files.

Code can be tested by uploading attachments in the Create Events page and the Course Proposals page.

Resolves #979

app/templates/serviceLearning/slcProposal.html Outdated Show resolved Hide resolved
app/templates/serviceLearning/slcProposal.html Outdated Show resolved Hide resolved
app/templates/serviceLearning/slcProposal.html Outdated Show resolved Hide resolved
app/templates/serviceLearning/slcProposal.html Outdated Show resolved Hide resolved
app/templates/serviceLearning/slcProposal.html Outdated Show resolved Hide resolved
app/static/js/base.js Outdated Show resolved Hide resolved
@ojmakinde
Copy link
Contributor Author

…ove button. Also fixed another bug where you were allowed to submit a form that didn't have valid information, namely you could have zero course instructors assigned to the course.
app/controllers/admin/routes.py Show resolved Hide resolved
app/controllers/serviceLearning/routes.py Outdated Show resolved Hide resolved
…e is true for the save & exit button on the edit course proposal page, both are functional.
@hoerstl hoerstl requested a review from BrianRamsay July 20, 2023 13:48
@github-actions
Copy link

View Code Coverage

@BrianRamsay BrianRamsay merged commit 9152ce4 into development Jul 20, 2023
5 checks passed
@BrianRamsay BrianRamsay deleted the 979-Syllabus-Upload-Button-Change branch July 20, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syllabus upload should be changed to match the new upload
3 participants