mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02: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
1 changed files with 2 additions and 4 deletions
|
@ -55,8 +55,8 @@ class renderer extends plugin_renderer_base {
|
||||||
get_string('name'),
|
get_string('name'),
|
||||||
get_string('configuredstatus', 'tool_oauth2'),
|
get_string('configuredstatus', 'tool_oauth2'),
|
||||||
get_string('loginissuer', 'tool_oauth2'),
|
get_string('loginissuer', 'tool_oauth2'),
|
||||||
get_string('discoverystatus', 'tool_oauth2'),
|
get_string('discoverystatus', 'tool_oauth2') . ' ' . $OUTPUT->help_icon('discovered', 'tool_oauth2'),
|
||||||
get_string('systemauthstatus', 'tool_oauth2'),
|
get_string('systemauthstatus', 'tool_oauth2') . ' ' . $OUTPUT->help_icon('systemaccountconnected', 'tool_oauth2'),
|
||||||
get_string('edit'),
|
get_string('edit'),
|
||||||
];
|
];
|
||||||
$table->attributes['class'] = 'admintable generaltable';
|
$table->attributes['class'] = 'admintable generaltable';
|
||||||
|
@ -110,7 +110,6 @@ class renderer extends plugin_renderer_base {
|
||||||
$discovered = '-';
|
$discovered = '-';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$discovered .= ' ' . $OUTPUT->help_icon('discovered', 'tool_oauth2');
|
|
||||||
|
|
||||||
$discoverystatuscell = new html_table_cell($discovered);
|
$discoverystatuscell = new html_table_cell($discovered);
|
||||||
|
|
||||||
|
@ -130,7 +129,6 @@ class renderer extends plugin_renderer_base {
|
||||||
$authlink = html_writer::link($authurl, $icon);
|
$authlink = html_writer::link($authurl, $icon);
|
||||||
$systemauth .= ' ' . $authlink;
|
$systemauth .= ' ' . $authlink;
|
||||||
}
|
}
|
||||||
$systemauth .= ' ' . $OUTPUT->help_icon('systemaccountconnected', 'tool_oauth2');
|
|
||||||
|
|
||||||
$systemauthstatuscell = new html_table_cell($systemauth);
|
$systemauthstatuscell = new html_table_cell($systemauth);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue