mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-83084 theme: Update the view category icon
This commit is contained in:
parent
1938c438ea
commit
b82d814ef2
File diff suppressed because one or more lines are too long
@ -179,7 +179,7 @@ class helper {
|
||||
// View link.
|
||||
$actions['view'] = [
|
||||
'url' => new \moodle_url('/course/index.php', ['categoryid' => $category->id]),
|
||||
'icon' => null,
|
||||
'icon' => new \pix_icon('i/viewcategory', new \lang_string('view')),
|
||||
'string' => get_string('view')
|
||||
];
|
||||
|
||||
|
@ -352,6 +352,7 @@ class icon_system_fontawesome extends icon_system_font {
|
||||
'core:i/userevent' => 'fa-clipboard-user',
|
||||
'core:i/users' => 'fa-user-group',
|
||||
'core:i/valid' => 'fa-check text-success',
|
||||
'core:i/viewcategory' => 'fa-pager',
|
||||
'core:i/viewsection' => 'fa-pager',
|
||||
'core:i/warning' => 'fa-triangle-exclamation text-warning',
|
||||
'core:i/window_close' => 'fa-xmark',
|
||||
|
1
pix/i/viewcategory.svg
Normal file
1
pix/i/viewcategory.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zm64 32v64c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32zM80 320c-13.3 0-24 10.7-24 24s10.7 24 24 24h56c13.3 0 24-10.7 24-24s-10.7-24-24-24H80zm136 0c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H216z"/></svg>
|
After Width: | Height: | Size: 653 B |
Loading…
x
Reference in New Issue
Block a user