Skip to content
Snippets Groups Projects
Commit 9ced53fe authored by John Hoopes's avatar John Hoopes
Browse files

final updates to the course_overview block before semester start

parent a62f5628
No related branches found
No related tags found
No related merge requests found
......@@ -69,3 +69,5 @@ $string['general_warning_message'] = "We're sorry, something went wrong when we
"If you continue to experience issues, contact the DoIT Help Desk at 264-HELP (4357).";
$string['news_header'] = 'News';
$string['moodle_legend'] = '- Moodle';
$string['d2l_legend'] = '- D2L';
......@@ -139,7 +139,7 @@ function block_course_overview_uwmoodle_get_sorted_courses() {
// get external courses
require_once($CFG->dirroot . '/enrol/wisc/lib/externalcourses/external_user_courses.php');
$externalcourses = new external_user_courses();
$ecourses = $externalcourses->get_user_courses($USER->email, $courses);
$ecourses = $externalcourses->get_user_courses($USER->username, $courses);
$courses = array_merge($courses, $ecourses);
......
pix/news.png

19.5 KiB

File added
......@@ -390,8 +390,8 @@ class block_course_overview_uwmoodle_renderer extends plugin_renderer_base {
}
$output .= html_writer::start_tag('div', array('class'=>'legend'));
$output .= html_writer::tag('div', get_string('moodle_legend', 'block_my_course_links'), array('class'=>'Moodle-icon'));
$output .= html_writer::tag('div', get_string('d2l_legend', 'block_my_course_links'), array('class'=>'D2L-icon'));
$output .= html_writer::tag('div', get_string('moodle_legend', 'block_course_overview_uwmoodle'), array('class'=>'Moodle-icon'));
//$output .= html_writer::tag('div', get_string('d2l_legend', 'block_course_overview_uwmoodle'), array('class'=>'D2L-icon'));
$output .= html_writer::end_tag('div');
$output .= html_writer::end_tag('div');
return $output;
......
......@@ -293,7 +293,7 @@
background-repeat: no-repeat;
margin-top: 5px;
margin-right: 10px;
margin-right: 3px;
float: left;
}
......@@ -307,7 +307,7 @@
background-image: url('[[pix:block_course_overview_uwmoodle|D2L]]');
background-repeat: no-repeat;
margin-right: 10px;
margin-right: 3px;
float: left;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment