MDL-82987 mod_assign: Restore magnifying glass icon in preview link
The icon used in the full preview link for submissions and feedback was inadequately replaced with an eye icon, which is typically associated with visibility toggling or state indication. The previous magnifying glass icon was more appropriate for this purpose, so this issue restores it.
This commit is contained in:
@@ -1060,7 +1060,7 @@ class renderer extends \plugin_renderer_base {
|
||||
$link = '';
|
||||
if ($showviewlink) {
|
||||
$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');
|
||||
$expandicon = $this->output->pix_icon('t/switch_plus', $expandstr);
|
||||
@@ -1177,7 +1177,7 @@ class renderer extends \plugin_renderer_base {
|
||||
$link = '';
|
||||
if ($showviewlink) {
|
||||
$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');
|
||||
$expandicon = $this->output->pix_icon('t/switch_plus', $expandstr);
|
||||
|
||||
@@ -1597,7 +1597,7 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
$separator = '';
|
||||
if ($showviewlink) {
|
||||
$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,
|
||||
'sid' => $item->id,
|
||||
'gid' => $item->id,
|
||||
|
||||
Reference in New Issue
Block a user