MDL-64506 templates: Move BS2 labels to BS4 badges
[moodle.git] / admin / tool / dataprivacy / classes / output / my_data_requests_page.php
index 729a7fe..b82579f 100644 (file)
@@ -106,12 +106,12 @@ class my_data_requests_page implements renderable, templatable {
             $cancancel = true;
             switch ($status) {
                 case api::DATAREQUEST_STATUS_COMPLETE:
-                    $item->statuslabelclass = 'label-success';
+                    $item->statuslabelclass = 'badge-success';
                     $item->statuslabel = get_string('statuscomplete', 'tool_dataprivacy');
                     $cancancel = false;
                     break;
                 case api::DATAREQUEST_STATUS_DOWNLOAD_READY:
-                    $item->statuslabelclass = 'label-success';
+                    $item->statuslabelclass = 'badge-success';
                     $item->statuslabel = get_string('statusready', 'tool_dataprivacy');
                     $cancancel = false;
                     $candownload = true;
@@ -122,12 +122,12 @@ class my_data_requests_page implements renderable, templatable {
                     }
                     break;
                 case api::DATAREQUEST_STATUS_DELETED:
-                    $item->statuslabelclass = 'label-success';
+                    $item->statuslabelclass = 'badge-success';
                     $item->statuslabel = get_string('statusdeleted', 'tool_dataprivacy');
                     $cancancel = false;
                     break;
                 case api::DATAREQUEST_STATUS_EXPIRED:
-                    $item->statuslabelclass = 'label-default';
+                    $item->statuslabelclass = 'badge-secondary';
                     $item->statuslabel = get_string('statusexpired', 'tool_dataprivacy');
                     $item->statuslabeltitle = get_string('downloadexpireduser', 'tool_dataprivacy');
                     $cancancel = false;