mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-65382-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
fc8a72b4cb
@ -1062,7 +1062,7 @@ class core_admin_renderer extends plugin_renderer_base {
|
||||
|
||||
if ($isstandard = $plugin->is_standard()) {
|
||||
$row->attributes['class'] .= ' standard';
|
||||
$sourcelabel = html_writer::span(get_string('sourcestd', 'core_plugin'), 'sourcetext label');
|
||||
$sourcelabel = html_writer::span(get_string('sourcestd', 'core_plugin'), 'sourcetext badge badge-secondary');
|
||||
} else {
|
||||
$row->attributes['class'] .= ' extension';
|
||||
$sourcelabel = html_writer::span(get_string('sourceext', 'core_plugin'), 'sourcetext badge badge-info');
|
||||
@ -1074,7 +1074,7 @@ class core_admin_renderer extends plugin_renderer_base {
|
||||
|
||||
$statuscode = $plugin->get_status();
|
||||
$row->attributes['class'] .= ' status-' . $statuscode;
|
||||
$statusclass = 'statustext label ';
|
||||
$statusclass = 'statustext badge ';
|
||||
switch ($statuscode) {
|
||||
case core_plugin_manager::PLUGIN_STATUS_NEW:
|
||||
$statusclass .= $dependenciesok ? 'badge-success' : 'badge-warning';
|
||||
@ -2025,7 +2025,7 @@ class core_admin_renderer extends plugin_renderer_base {
|
||||
$messagetype = 'ok';
|
||||
$statusclass = 'badge-success';
|
||||
}
|
||||
$status = html_writer::span($status, 'label ' . $statusclass);
|
||||
$status = html_writer::span($status, 'badge ' . $statusclass);
|
||||
// Here we'll store all the feedback found
|
||||
$feedbacktext = '';
|
||||
// Append the feedback if there is some
|
||||
|
@ -190,7 +190,7 @@ class data_requests_table extends table_sql {
|
||||
* @return mixed
|
||||
*/
|
||||
public function col_status($data) {
|
||||
return html_writer::span($data->statuslabel, 'label ' . $data->statuslabelclass);
|
||||
return html_writer::span($data->statuslabel, 'badge ' . $data->statuslabelclass);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -54,7 +54,7 @@
|
||||
<div class="tool-card-content">
|
||||
<div class="tool-card-header">
|
||||
<div class="tool-card-subheader">
|
||||
<div class="tag
|
||||
<div class="badge
|
||||
{{#state.pending}}badge-info{{/state.pending}}
|
||||
{{#state.configured}}badge-success{{/state.configured}}
|
||||
{{#state.rejected}}badge-danger{{/state.rejected}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user