Merge branch 'MDL-87715-main' of https://github.com/lucaboesch/moodle
This commit is contained in:
@@ -92,7 +92,7 @@ class overview extends \core_courseformat\activityoverviewbase {
|
||||
['id' => $this->cm->id, 'mode' => 'responses'],
|
||||
),
|
||||
text: get_string('view'),
|
||||
attributes: ['class' => button::SECONDARY_OUTLINE->classes()],
|
||||
attributes: ['class' => button::BODY_OUTLINE->classes()],
|
||||
);
|
||||
return new overviewitem(
|
||||
name: get_string('actions'),
|
||||
@@ -155,7 +155,7 @@ class overview extends \core_courseformat\activityoverviewbase {
|
||||
$overviewdialog = new overviewdialog(
|
||||
buttoncontent: $total,
|
||||
description: get_string('totalattempts', 'mod_quiz'),
|
||||
definition: ['buttonclasses' => button::SECONDARY_OUTLINE->classes() . ' dropdown-toggle'],
|
||||
definition: ['buttonclasses' => button::BODY_OUTLINE->classes() . ' dropdown-toggle'],
|
||||
);
|
||||
|
||||
$allowedattempts = $this->quizsettings->get_quiz()->attempts;
|
||||
|
||||
@@ -95,7 +95,7 @@ class overview extends \core_courseformat\activityoverviewbase {
|
||||
$content = new action_link(
|
||||
url: new url('/mod/scorm/report.php', ['id' => $this->cm->id]),
|
||||
text: $viewresults,
|
||||
attributes: ['class' => button::SECONDARY_OUTLINE->classes()],
|
||||
attributes: ['class' => button::BODY_OUTLINE->classes()],
|
||||
);
|
||||
|
||||
return new overviewitem(
|
||||
@@ -163,7 +163,7 @@ class overview extends \core_courseformat\activityoverviewbase {
|
||||
$content = new overviewdialog(
|
||||
buttoncontent: $totalattempts,
|
||||
title: get_string('totalattempts', 'mod_scorm'),
|
||||
definition: ['buttonclasses' => button::SECONDARY_OUTLINE->classes() . ' dropdown-toggle'],
|
||||
definition: ['buttonclasses' => button::BODY_OUTLINE->classes() . ' dropdown-toggle'],
|
||||
);
|
||||
$gradingmethod = $this->manager->get_grading_method();
|
||||
$content->add_item(
|
||||
|
||||
Reference in New Issue
Block a user