MDL-64506 templates: Move BS2 labels to BS4 badges
[moodle.git] / admin / tool / dataprivacy / templates / my_data_requests.mustache
index 6f00965..1f544ac 100644 (file)
@@ -35,7 +35,7 @@
                 "id": 1,
                 "typename" : "Data export",
                 "comments": "I would like to download all of my daughter's personal data",
-                "statuslabelclass": "label-default",
+                "statuslabelclass": "badge-secondary",
                 "statuslabel": "Pending",
                 "timecreated" : 1517902087,
                 "requestedbyuser" : {
@@ -47,7 +47,7 @@
                 "id": 2,
                 "typename" : "Data export",
                 "comments": "Give me all of the information you have about me, or else...",
-                "statuslabelclass": "label-warning",
+                "statuslabelclass": "badge-warning",
                 "statuslabel": "Awaiting completion",
                 "timecreated" : 1517902087,
                 "requestedbyuser" : {
@@ -59,7 +59,7 @@
                 "id": 3,
                 "typename" : "Data deletion",
                 "comments": "Please delete all of my son's personal data.",
-                "statuslabelclass": "label-success",
+                "statuslabelclass": "badge-success",
                 "statuslabel": "Deleted",
                 "timecreated" : 1517902087,
                 "requestedbyuser" : {
@@ -83,7 +83,7 @@
                 "id": 5,
                 "typename" : "Data export",
                 "comments": "Please let me download my data",
-                "statuslabelclass": "label-info",
+                "statuslabelclass": "badge-info",
                 "statuslabel": "Processing",
                 "timecreated" : 1517902087,
                 "requestedbyuser" : {
                 <td>{{#userdate}} {{timecreated}}, {{#str}} strftimedatetime {{/str}} {{/userdate}}</td>
                 <td><a href="{{requestedbyuser.profileurl}}" title="{{#str}}viewprofile{{/str}}">{{requestedbyuser.fullname}}</a></td>
                 <td>
-                    <span class="label {{statuslabelclass}}" title="{{statuslabeltitle}}">{{statuslabel}}</span>
+                    <span class="badge {{statuslabelclass}}" title="{{statuslabeltitle}}">{{statuslabel}}</span>
                 </td>
                 <td>{{comments}}</td>
                 <td>