MDL-61183 user: Added total participants count on paricipants page

This commit is contained in:
Farhan Karmali 2018-02-07 12:03:41 +05:30
parent 39fab18e27
commit 6afa07edd1
2 changed files with 3 additions and 0 deletions

View File

@ -1478,6 +1478,7 @@ $string['parentcategory'] = 'Parent category';
$string['parentcoursenotfound'] = 'Parent course not found!';
$string['parentfolder'] = 'Parent folder';
$string['participants'] = 'Participants';
$string['participantscount'] = 'Number of participants: {$a}';
$string['participantslist'] = 'Participants list';
$string['participationratio'] = 'Participation ratio';
$string['participationreport'] = 'Participation report';

View File

@ -234,6 +234,8 @@ $participanttable->out($perpage, true);
$participanttablehtml = ob_get_contents();
ob_end_clean();
echo html_writer::tag('p', get_string('participantscount', 'moodle', $participanttable->totalrows));
if ($bulkoperations) {
echo '<form action="action_redir.php" method="post" id="participantsform">';
echo '<div>';