MDL-71375 lib: Fix tooltip in show_hide_icon in flexible table
This commit is contained in:
committed by
Simey Lameze
parent
6259988cb6
commit
40adf6defd
+2
-2
@@ -1188,7 +1188,7 @@ class flexible_table {
|
||||
'data-action' => 'show',
|
||||
'data-column' => $column);
|
||||
return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_SHOW] => $column)),
|
||||
$OUTPUT->pix_icon('t/switch_plus', get_string('show')), $linkattributes);
|
||||
$OUTPUT->pix_icon('t/switch_plus', null), $linkattributes);
|
||||
|
||||
} else if ($this->headers[$index] !== NULL) {
|
||||
$linkattributes = array('title' => get_string('hide') . ' ' . strip_tags($this->headers[$index]),
|
||||
@@ -1197,7 +1197,7 @@ class flexible_table {
|
||||
'data-action' => 'hide',
|
||||
'data-column' => $column);
|
||||
return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_HIDE] => $column)),
|
||||
$OUTPUT->pix_icon('t/switch_minus', get_string('hide')), $linkattributes);
|
||||
$OUTPUT->pix_icon('t/switch_minus', null), $linkattributes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user