Merge branch 'MDL-82987-main' of https://github.com/mihailges/moodle into main

This commit is contained in:
Paul Holden 2024-09-04 09:58:19 +01:00
commit 445fe37166
No known key found for this signature in database
GPG key ID: A81A96D6045F6164
2 changed files with 3 additions and 3 deletions

View file

@ -1060,7 +1060,7 @@ class renderer extends \plugin_renderer_base {
$link = ''; $link = '';
if ($showviewlink) { if ($showviewlink) {
$previewstr = get_string('viewsubmission', 'assign'); $previewstr = get_string('viewsubmission', 'assign');
$icon = $this->output->pix_icon('t/preview', $previewstr); $icon = $this->output->pix_icon('t/viewdetails', $previewstr);
$expandstr = get_string('viewfull', 'assign'); $expandstr = get_string('viewfull', 'assign');
$expandicon = $this->output->pix_icon('t/switch_plus', $expandstr); $expandicon = $this->output->pix_icon('t/switch_plus', $expandstr);
@ -1177,7 +1177,7 @@ class renderer extends \plugin_renderer_base {
$link = ''; $link = '';
if ($showviewlink) { if ($showviewlink) {
$previewstr = get_string('viewfeedback', 'assign'); $previewstr = get_string('viewfeedback', 'assign');
$icon = $this->output->pix_icon('t/preview', $previewstr); $icon = $this->output->pix_icon('t/viewdetails', $previewstr);
$expandstr = get_string('viewfull', 'assign'); $expandstr = get_string('viewfull', 'assign');
$expandicon = $this->output->pix_icon('t/switch_plus', $expandstr); $expandicon = $this->output->pix_icon('t/switch_plus', $expandstr);

View file

@ -1594,7 +1594,7 @@ class assign_grading_table extends table_sql implements renderable {
$separator = ''; $separator = '';
if ($showviewlink) { if ($showviewlink) {
$viewstr = get_string('view' . substr($plugin->get_subtype(), strlen('assign')), 'assign'); $viewstr = get_string('view' . substr($plugin->get_subtype(), strlen('assign')), 'assign');
$icon = $this->output->pix_icon('t/preview', $viewstr); $icon = $this->output->pix_icon('t/viewdetails', $viewstr);
$urlparams = array('id' => $this->assignment->get_course_module()->id, $urlparams = array('id' => $this->assignment->get_course_module()->id,
'sid' => $item->id, 'sid' => $item->id,
'gid' => $item->id, 'gid' => $item->id,