Closed MImran2002 closed 4 months ago
Modifications:
Added “name” and “abbr” back into the dictionary in logic/serviceLearningCourses.py and changed the combination of name and abbreviation as “displayName”
“namenumcombo” function changed to “displayName” and moved to logic
changed slcMangement.html to use displayName from the courseDict
added tests to test the displayName from the logic files displayName and serviceLearningCourses
@MImran2002 , is this an old PR? There are unresolved comments, still.
I would approve this. I ran the unit tests and checked for where there was change. It was looking great as far as I could see 👍
The changes we made is that we created a file in models that would produce an attribute for course name and number. We also created a test for the function and tested it when both course name and number exist, when none exit and when either one of them exist. We also went to html page for slcmanagement.html and added some jinja codes. We also have to add import statements across the pages.
Fixes #1206 and #1164