MDL-82867 output: consistently space external link pixicon.
This commit is contained in:
@@ -392,11 +392,11 @@ class exifremover_service extends service implements file_redactor_service_inter
|
||||
}
|
||||
}
|
||||
|
||||
$icon = $OUTPUT->pix_icon('i/externallink', get_string('opensinnewwindow'));
|
||||
$icon = $OUTPUT->pix_icon('i/externallink', get_string('opensinnewwindow'), attributes: ['class' => 'ms-1']);
|
||||
$a = (object) [
|
||||
'link' => html_writer::link(
|
||||
url: 'https://exiftool.sourceforge.net/install.html',
|
||||
text: "https://exiftool.sourceforge.net/install.html $icon",
|
||||
text: 'https://exiftool.sourceforge.net/install.html' . $icon,
|
||||
attributes: ['role' => 'opener', 'rel' => 'noreferrer', 'target' => '_blank'],
|
||||
),
|
||||
];
|
||||
|
||||
@@ -1941,8 +1941,7 @@ class core_renderer extends renderer_base {
|
||||
$newwindowicon = $this->pix_icon(
|
||||
'i/externallink',
|
||||
get_string('opensinnewwindow'),
|
||||
'moodle',
|
||||
['class' => 'fa fa-externallink fa-fw']
|
||||
attributes: ['class' => 'ms-1'],
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user