]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1225902 follow up - Change labels on My Dashboard
authorKohei Yoshino <kohei.yoshino@gmail.com>
Mon, 20 May 2019 18:58:34 +0000 (14:58 -0400)
committerGitHub <noreply@github.com>
Mon, 20 May 2019 18:58:34 +0000 (14:58 -0400)
extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
extensions/MyDashboard/web/js/flags.js

index 2b4ef5eade6bb53aed875b665938a6094e3ba0b6..8e2ce95190c5defe268938136363b2056fdbb817 100644 (file)
           <h2 class="query_heading">[% title FILTER html_light %]</h2>
           <span id="[% name FILTER html %]_loading" class="items_found">Loading...</span>
           <span id="[% name FILTER html %]_count_refresh" class="bz_default_hidden">
-          <span class="items_found" id="[% name FILTER html %]_flags_found">0 reviews found</span>
+          <span class="items_found" id="[% name FILTER html %]_flags_found">0 requests found</span>
           | <a class="refresh" href="javascript:void(0);" id="[% name FILTER html %]_refresh">Refresh</a>
           | <a class="buglist" href="javascript:void(0);" id="[% name FILTER html %]_buglist">Buglist</a>
           </span>
         </div>
       [% 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' %]
     </div>
 
     <div style="clear:both;"></div>
index 3bdfebed7b1a119f338ceac7e65049803d0b4d27..d1c665d29d577d586868de5a9c9177ba5775d40c 100644 (file)
@@ -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.',
             }
         });