From 9bd9f9038b3b469f07d1567156b7feb5bda2af18 Mon Sep 17 00:00:00 2001 From: dklawren Date: Wed, 8 Aug 2018 10:39:53 -0400 Subject: Bug 1480891 my dashboard does not show the revision id and title for phabricator review requests --- extensions/MyDashboard/web/js/flags.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'extensions') diff --git a/extensions/MyDashboard/web/js/flags.js b/extensions/MyDashboard/web/js/flags.js index 425e42e57..8931e277a 100644 --- a/extensions/MyDashboard/web/js/flags.js +++ b/extensions/MyDashboard/web/js/flags.js @@ -154,11 +154,10 @@ $(function () { '' + '' + '' + - Y.Escape.html('D' + o.data.id + ' - ' + o.data.title) + - '', - 'before'); + Y.Escape.html(o.data.title) + '', + 'after'); - o.cell.set('text', o.data.status == 'added' ? 'pending' : o.data.status); + o.cell.setHTML('D' + o.data.id + ''); return false; }; @@ -179,7 +178,9 @@ $(function () { dataTable.reviews = new Y.DataTable({ columns: [ { key: 'author_email', label: 'Requester', sortable: true, - formattter: phabAuthorFormatter, allowHTML: true }, + formatter: phabAuthorFormatter, allowHTML: true }, + { key: 'id', label: 'Revision', sortable: true, + nodeFormatter: phabRowFormatter, allowHTML: true }, { key: 'bug_id', label: 'Bug', sortable: true, formatter: bugLinkFormatter, allowHTML: true }, { key: 'updated', label: 'Updated', sortable: true, -- cgit v1.2.3-24-g4f1b