Commit bd0f3783 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

added little profile icons to member list

parent 8443a752
......@@ -84,6 +84,7 @@ $requested = get_record('group_member_request', 'group', $id, 'member', $USER->g
$userview = get_config('wwwroot') . 'user/view.php?id=';
$viewview = get_config('wwwroot') . 'view/view.php?id=';
$commview = get_config('wwwroot') . 'group/view.php';
$profilepic = get_config('wwwroot') . 'thumb.php?type=profileicon&maxsize=25&id=';
// strings that are used in the js
$releaseviewstr = get_string('releaseview', 'group');
......@@ -147,7 +148,7 @@ memberlist = new TableRenderer(
'view.json.php',
[
function (r) {
return TD(null, A({'href': '{$userview}' + r.id}, r.displayname));
return TD(null, A({'href': '{$userview}' + r.id}, IMG({'alt': '', 'src': '{$profilepic}' + r.id}), r.displayname));
},
EOF;
if ($canupdate) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment