mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-36561 chat: Chat does not use calendar icons
This commit is contained in:
parent
dcb28e6e7f
commit
69bc92160f
@ -1228,7 +1228,7 @@ function chat_extend_navigation($navigation, $course, $module, $cm) {
|
||||
$links[] = new action_link($url, get_string('noframesjs', 'message'), $action);
|
||||
|
||||
foreach ($links as $link) {
|
||||
$navigation->add($link->text, $link, navigation_node::TYPE_SETTING, null ,null, new pix_icon('c/group' , ''));
|
||||
$navigation->add($link->text, $link, navigation_node::TYPE_SETTING, null ,null, new pix_icon('i/group' , ''));
|
||||
}
|
||||
}
|
||||
|
||||
@ -1237,7 +1237,7 @@ function chat_extend_navigation($navigation, $course, $module, $cm) {
|
||||
$users = $navigation->add(get_string('currentusers', 'chat'));
|
||||
foreach ($chatusers as $chatuser) {
|
||||
$userlink = new moodle_url('/user/view.php', array('id'=>$chatuser->id,'course'=>$course->id));
|
||||
$users->add(fullname($chatuser).' '.format_time(time() - $chatuser->lastmessageping), $userlink, navigation_node::TYPE_USER, null, null, new pix_icon('c/user', ''));
|
||||
$users->add(fullname($chatuser).' '.format_time(time() - $chatuser->lastmessageping), $userlink, navigation_node::TYPE_USER, null, null, new pix_icon('i/user', ''));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
8
mod/chat/upgrade.txt
Normal file
8
mod/chat/upgrade.txt
Normal file
@ -0,0 +1,8 @@
|
||||
This files describes API changes in /mod/chat/*,
|
||||
information provided here is intended especially for developers.
|
||||
|
||||
|
||||
=== 2.4 ===
|
||||
|
||||
optional - no changes needed:
|
||||
* previous references to icons c/user and c/group have been renamed to i/user and i/group.
|
Loading…
x
Reference in New Issue
Block a user