Skip to content

Commit

Permalink
VID-813: Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Thies committed Jul 8, 2024
1 parent 75cac45 commit 0895f1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@

if (videotime_has_pro() && has_capability('mod/videotime:view_report', $coursecontext)) {
$url = new moodle_url('/mod/videotime/report.php', ['id' => $videotime->coursemodule]);
$data[] = \html_writer::link($url, $DB->get_field(\videotimeplugin_pro\session::TABLE, 'COUNT(DISTINCT uuid)', ['module_id' => $videotime->coursemodule]) . ' ' . get_string('views', 'videotime'));
$data[] = \html_writer::link($url, $DB->get_field(
\videotimeplugin_pro\session::TABLE,
'COUNT(DISTINCT uuid)',
['module_id' => $videotime->coursemodule]
) . ' ' . get_string('views', 'videotime'));
}

$table->data[] = $data;
Expand Down

0 comments on commit 0895f1a

Please sign in to comment.