mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-32769 course: Moving the completion status to a new line
This commit is contained in:
parent
68b8cc84af
commit
dce49c1c38
@ -364,15 +364,18 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
$o.= $mod['name'].': '.$mod['count'];
|
||||
$o.= html_writer::end_tag('span');
|
||||
}
|
||||
$o.= html_writer::end_tag('div');
|
||||
|
||||
// Output section completion data
|
||||
if ($completioninfo->is_enabled() != COMPLETION_TRACKING_NONE && isloggedin() &&
|
||||
!isguestuser() && $total !== 0) {
|
||||
$o.= html_writer::start_tag('div', array('class' => 'section-summary-activities mdl-right'));
|
||||
$o.= html_writer::start_tag('span', array('class' => 'activity-count'));
|
||||
$o.= get_string("completionstatus")." $complete / $total";
|
||||
$o.= get_string("progress")." $complete / $total";
|
||||
$o.= html_writer::end_tag('span');
|
||||
$o.= html_writer::end_tag('div');
|
||||
}
|
||||
$o.= html_writer::end_tag('div');
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,6 @@ $string['commentsrequirelogin'] = 'You need to login to view the comments';
|
||||
$string['comparelanguage'] = 'Compare and edit current language';
|
||||
$string['complete'] = 'Complete';
|
||||
$string['completereport'] = 'Complete report';
|
||||
$string['completionstatus'] = 'Completion status:';
|
||||
$string['configuration'] = 'Configuration';
|
||||
$string['confirm'] = 'Confirm';
|
||||
$string['confirmed'] = 'Your registration has been confirmed';
|
||||
@ -1332,6 +1331,7 @@ $string['previoussection'] = 'Previous section';
|
||||
$string['primaryadminsetup'] = 'Setup administrator account';
|
||||
$string['profile'] = 'Profile';
|
||||
$string['profilenotshown'] = 'This profile description will not be shown until this person is enrolled in at least one course.';
|
||||
$string['progress'] = 'Progress:';
|
||||
$string['publicprofile'] = 'Public profile';
|
||||
$string['publicsitefileswarning'] = 'Note: files placed here can be accessed by anyone';
|
||||
$string['publicsitefileswarning2'] = 'Note: Files placed here can be accessed by anyone who knows (or can guess) the URL. For security reasons, it is recommended that any backup files are deleted immediately after restoring them.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user