mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-58220 oauth2: Move help icons to table header
In the Site Administration -> Server -> OAuth 2 Services page.
This commit is contained in:
parent
818e789a00
commit
5b926a6a09
@ -55,8 +55,8 @@ class renderer extends plugin_renderer_base {
|
||||
get_string('name'),
|
||||
get_string('configuredstatus', 'tool_oauth2'),
|
||||
get_string('loginissuer', 'tool_oauth2'),
|
||||
get_string('discoverystatus', 'tool_oauth2'),
|
||||
get_string('systemauthstatus', 'tool_oauth2'),
|
||||
get_string('discoverystatus', 'tool_oauth2') . ' ' . $OUTPUT->help_icon('discovered', 'tool_oauth2'),
|
||||
get_string('systemauthstatus', 'tool_oauth2') . ' ' . $OUTPUT->help_icon('systemaccountconnected', 'tool_oauth2'),
|
||||
get_string('edit'),
|
||||
];
|
||||
$table->attributes['class'] = 'admintable generaltable';
|
||||
@ -110,7 +110,6 @@ class renderer extends plugin_renderer_base {
|
||||
$discovered = '-';
|
||||
}
|
||||
}
|
||||
$discovered .= ' ' . $OUTPUT->help_icon('discovered', 'tool_oauth2');
|
||||
|
||||
$discoverystatuscell = new html_table_cell($discovered);
|
||||
|
||||
@ -130,7 +129,6 @@ class renderer extends plugin_renderer_base {
|
||||
$authlink = html_writer::link($authurl, $icon);
|
||||
$systemauth .= ' ' . $authlink;
|
||||
}
|
||||
$systemauth .= ' ' . $OUTPUT->help_icon('systemaccountconnected', 'tool_oauth2');
|
||||
|
||||
$systemauthstatuscell = new html_table_cell($systemauth);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user