mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-68343 gradereport_singleview: Remove adjacent links to the same URL
This commit is contained in:
parent
976dac3fd1
commit
8a944856eb
@ -208,12 +208,12 @@ class grade extends tablelike implements selectable_items, filterable_items {
|
||||
$url = new moodle_url("/user/view.php", array('id' => $item->id, 'course' => $this->courseid));
|
||||
$iconstring = get_string('filtergrades', 'gradereport_singleview', $fullname);
|
||||
$grade->label = $fullname;
|
||||
$userpic = $OUTPUT->user_picture($item, ['link' => false, 'visibletoscreenreaders' => false]);
|
||||
|
||||
$line = array(
|
||||
$OUTPUT->action_icon($this->format_link('user', $item->id), new pix_icon('t/editstring', ''), null,
|
||||
['title' => $iconstring, 'aria-label' => $iconstring]),
|
||||
$OUTPUT->user_picture($item, array('visibletoscreenreaders' => false)) .
|
||||
html_writer::link($url, $fullname),
|
||||
html_writer::link($url, $userpic . $fullname),
|
||||
$this->item_range()
|
||||
);
|
||||
$lineclasses = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user