Merge pull request #17 from darshanbhatta/fix-syllabi-link-url
This commit is contained in:
@@ -91,7 +91,7 @@ function buildCourseLinks(course_info) {
|
|||||||
} = course_info
|
} = course_info
|
||||||
links = {
|
links = {
|
||||||
"textbook": `https://www.universitycoop.com/adoption-search-results?sn=${semester_code}__${department}__${number}__${unique}`,
|
"textbook": `https://www.universitycoop.com/adoption-search-results?sn=${semester_code}__${department}__${number}__${unique}`,
|
||||||
"syllabi": `https://utdirect.utexas.edu/apps/student/coursedocs/nlogon/?semester=&department=${department}&course_number=${number}&course_title=&unique=&instructor_first=&instructor_last=${prof_name}&course_type=In+Residence&search=Search`,
|
"syllabi": `https://utdirect.utexas.edu/apps/student/coursedocs/nlogon/?year=&semester=&department=${department}&course_number=${number}&course_title=&unique=&instructor_first=&instructor_last=${prof_name}&course_type=In+Residence&search=Search`,
|
||||||
//default ones (before first name can be used)
|
//default ones (before first name can be used)
|
||||||
"rate_my_prof": "http://www.ratemyprofessors.com/campusRatings.jsp?sid=1255",
|
"rate_my_prof": "http://www.ratemyprofessors.com/campusRatings.jsp?sid=1255",
|
||||||
"ecis": "http://utdirect.utexas.edu/ctl/ecis/results/index.WBX?"
|
"ecis": "http://utdirect.utexas.edu/ctl/ecis/results/index.WBX?"
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ function buildCourseLinks(course_info) {
|
|||||||
} = course_info
|
} = course_info
|
||||||
links = {
|
links = {
|
||||||
"textbook": `https://www.universitycoop.com/adoption-search-results?sn=${semester_code}__${department}__${number}__${unique}`,
|
"textbook": `https://www.universitycoop.com/adoption-search-results?sn=${semester_code}__${department}__${number}__${unique}`,
|
||||||
"syllabi": `https://utdirect.utexas.edu/apps/student/coursedocs/nlogon/?semester=&department=${department}&course_number=${number}&course_title=&unique=&instructor_first=&instructor_last=${prof_name}&course_type=In+Residence&search=Search`,
|
"syllabi": `https://utdirect.utexas.edu/apps/student/coursedocs/nlogon/?year=&semester=&department=${department}&course_number=${number}&course_title=&unique=&instructor_first=&instructor_last=${prof_name}&course_type=In+Residence&search=Search`,
|
||||||
}
|
}
|
||||||
course_info["links"] = links;
|
course_info["links"] = links;
|
||||||
return course_info;
|
return course_info;
|
||||||
|
|||||||
Reference in New Issue
Block a user