Skip to content

Commit

Permalink
MDL-64099 message: Change icons for select and selected messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwyllie committed Nov 27, 2018
1 parent 41cc9fb commit 302586a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions lib/classes/output/icon_system_fontawesome.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public function get_core_icon_map() {
'core:i/calendareventtime' => 'fa-clock-o',
'core:i/caution' => 'fa-exclamation text-warning',
'core:i/checked' => 'fa-check',
'core:i/checkedcircle' => 'fa-check-circle',
'core:i/checkpermissions' => 'fa-unlock-alt',
'core:i/cohort' => 'fa-users',
'core:i/competencies' => 'fa-check-square-o',
Expand Down Expand Up @@ -306,6 +307,7 @@ public function get_core_icon_map() {
'core:i/trash' => 'fa-trash',
'core:i/twoway' => 'fa-arrows-h',
'core:i/unchecked' => 'fa-square-o',
'core:i/uncheckedcircle' => 'fa-circle-o',
'core:i/unflagged' => 'fa-flag-o',
'core:i/unlock' => 'fa-unlock',
'core:i/up' => 'fa-arrow-up',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
>
{{formattedtime}}
</div>
<span class="hidden ml-2 small text-primary" data-region="not-selected-icon">{{#pix}} i/unchecked, core {{/pix}}</span>
<span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checked, core {{/pix}}</span>
<span class="hidden ml-2 small text-dark" data-region="not-selected-icon">{{#pix}} i/uncheckedcircle, core {{/pix}}</span>
<span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checkedcircle, core {{/pix}}</span>
</div>
<div>{{{text}}}</div>
</div>
Binary file added pix/i/checkedcircle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pix/i/checkedcircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/i/uncheckedcircle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pix/i/uncheckedcircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
>
{{formattedtime}}
</div>
<span class="hidden ml-2 small text-primary" data-region="not-selected-icon">{{#pix}} i/completion-manual-n, core {{/pix}}</span>
<span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checked, core {{/pix}}</span>
<span class="hidden ml-2 small text-primary" data-region="not-selected-icon">{{#pix}} i/uncheckedcircle, core {{/pix}}</span>
<span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checkedcircle, core {{/pix}}</span>
</div>
<div>{{{text}}}</div>
</div>

0 comments on commit 302586a

Please sign in to comment.