From 21f3da0cba1bab17bbac32f46c6066e2f30e712d Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 20 May 2019 14:58:34 -0400 Subject: [PATCH] Bug 1225902 follow up - Change labels on My Dashboard --- .../template/en/default/pages/mydashboard.html.tmpl | 6 +++--- extensions/MyDashboard/web/js/flags.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index 2b4ef5ead..8e2ce9519 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -138,7 +138,7 @@

[% title FILTER html_light %]

Loading... - 0 reviews found + 0 requests found | Refresh | Buglist @@ -146,8 +146,8 @@ [% END %] - [% PROCESS requests_table name='requestee' title='Flags Requested of You' %] - [% PROCESS requests_table name='requester' title='Flags You Have Requested' %] + [% PROCESS requests_table name='requestee' title='Requests for You' %] + [% PROCESS requests_table name='requester' title='Requests from You' %]
diff --git a/extensions/MyDashboard/web/js/flags.js b/extensions/MyDashboard/web/js/flags.js index 3bdfebed7..d1c665d29 100644 --- a/extensions/MyDashboard/web/js/flags.js +++ b/extensions/MyDashboard/web/js/flags.js @@ -145,7 +145,7 @@ $(function () { dataTable.requestee = new Y.DataTable({ columns: [ { key: "requester", label: "Requester", sortable: true }, - { key: "type", label: "Flag", sortable: true, + { key: "type", label: "Type", sortable: true, formatter: flagNameFormatter, allowHTML: true }, { key: "bug_id", label: "Bug", sortable: true, formatter: bugLinkFormatter, allowHTML: true }, @@ -153,7 +153,7 @@ $(function () { formatter: updatedFormatter, allowHTML: true } ], strings: { - emptyMessage: 'No flags requested of you.', + emptyMessage: 'No requests found.', } }); @@ -195,7 +195,7 @@ $(function () { columns: [ { key:"requestee", label:"Requestee", sortable:true, formatter: requesteeFormatter, allowHTML: true }, - { key:"type", label:"Flag", sortable:true, + { key:"type", label:"Type", sortable:true, formatter: flagNameFormatter, allowHTML: true }, { key:"bug_id", label:"Bug", sortable:true, formatter: bugLinkFormatter, allowHTML: true }, @@ -203,7 +203,7 @@ $(function () { formatter: updatedFormatter, allowHTML: true } ], strings: { - emptyMessage: 'No requested flags found.', + emptyMessage: 'No requests found.', } }); -- 2.47.3