Skip to content
Snippets Groups Projects
Commit fd898365 authored by Nick Koeppen's avatar Nick Koeppen
Browse files

[wisc_ra] Note on visibility. Single edit roster link.

parent 240faac0
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,9 @@
class block_wisc_ra extends block_base {
function init() {
$this->title = get_string('blocktitle', 'block_wisc_ra');
global $OUTPUT;
$infoicon = $OUTPUT->help_icon('blockinfo', 'block_wisc_ra');
$this->title = get_string('blocktitle', 'block_wisc_ra').' '.$infoicon;
}
function get_content() {
......@@ -45,7 +47,8 @@ class block_wisc_ra extends block_base {
$html = '';
if(!empty($sections)){
foreach($sections as $term => $courses){
$html .= "<h3 class='termname'><a href='$editlinks[$term]'>".$this->termname($term)."</a></h3>";
//$html .= "<h3 class='termname'><a href='$editlinks[$term]'>".$this->termname($term)."</a></h3>";
$html .= "<h3 class='termname'>".$this->termname($term)."</h3>";
foreach($courses as $course){
//Form course name
$catalogNum = $course['catalognum'];
......
<?php
$string['pluginname'] = 'WISC Roster Associations';
$string['blocktitle'] = 'Roster Associations';
$string['addmoreusers'] = 'Enrol additional users';
$string['editterm'] = 'Edit {$a} roster';
$string['pluginname'] = 'WISC Roster Associations';
$string['blocktitle'] = 'UW Sections';
$string['blockinfo'] = 'UW Sections';
$string['blockinfo_help'] = 'This block is only visible to course managers and not students. Use the contents to verify the UW sections mapping.';
$string['addmoreusers'] = 'Enrol additional users';
$string['editterm'] = 'Edit {$a} roster';
$string['block/wisc_ra:view'] = 'View WISC Roster Associations block';
$string['nosectionsfound'] = 'No sections mapped.';
......
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