Skip to content

Commit

Permalink
MDL-82313 mod_data: refactor field icon display
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Jun 27, 2024
1 parent ad7fc69 commit ceecf96
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 1 deletion.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion mod/data/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ function name() {
function image() {
global $OUTPUT;

return $OUTPUT->pix_icon('field/' . $this->type, $this->type, 'data');
return $OUTPUT->image_icon($this->type, $this->type, 'datafield_' . $this->type);
}

/**
Expand Down

0 comments on commit ceecf96

Please sign in to comment.