]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1557726 - Remove author column from Phabricator table to avoid revision owner...
authordklawren <dklawren@users.noreply.github.com>
Wed, 12 Jun 2019 19:36:58 +0000 (15:36 -0400)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 19:36:58 +0000 (15:36 -0400)
extensions/PhabBugz/lib/WebService.pm
extensions/PhabBugz/template/en/default/phabricator/table.html.tmpl
extensions/PhabBugz/web/js/phabricator.js

index 4e555b9779e045ba7905011865bfc2b61e3b8796..8376e6ad44070b2c8e351030346c85fd7fa5c43d 100644 (file)
@@ -173,7 +173,6 @@ sub bug_revisions {
     my $revision_data = {
       id          => 'D' . $revision_obj->id,
       sortkey     => $revision_obj->id,
-      author      => $revision_obj->author->name,
       status      => $revision_obj->status,
       long_status => $revision_status_map->{$revision_obj->status}
         || $revision_obj->status
index c55a039f15e12df54af14ee62ba6cdfa3a1baf99..adf429e81467c4128cac9a392ab67cafca5dc8cd 100644 (file)
@@ -12,7 +12,6 @@
     <tr>
       <th>ID</th>
       <th>Title</th>
-      <th>Author</th>
       <th>Status</th>
       <th>Reviewers</th>
     </tr>
index 5604f2e5be39e4a18f08f68ba88b845e32d288e2..10a390ab06c627b60b840aeb1ed19c212c3b846f 100644 (file)
@@ -20,7 +20,6 @@ Phabricator.getBugRevisions = function() {
         var trRevision     = tr.clone();
         var tdId           = td.clone();
         var tdTitle        = td.clone();
-        var tdAuthor       = td.clone();
         var tdRevisionStatus       = td.clone();
         var tdReviewers    = td.clone();
         var tableReviews   = table.clone();
@@ -37,8 +36,6 @@ Phabricator.getBugRevisions = function() {
         tdTitle.text(revision.title);
         tdTitle.addClass('phabricator-title');
 
-        tdAuthor.text(revision.author);
-
         spanRevisionStatusIcon.addClass('revision-status-icon-' + revision.status);
         spanRevisionStatus.append(spanRevisionStatusIcon);
         spanRevisionStatusText.text(revision.long_status);
@@ -72,7 +69,6 @@ Phabricator.getBugRevisions = function() {
         trRevision.append(
             tdId,
             tdTitle,
-            tdAuthor,
             tdRevisionStatus,
             tdReviewers
         );