From 49132b884b6ff6da079c2012a72719fc2e331466 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 10 Apr 2017 14:56:06 -0700 Subject: [PATCH] Sell Yellow! Buy Indigo! Summary: Fixes T12504. Replaces all tags with indigo. Test Plan: {F4849487} Reviewers: chad Reviewed By: chad Maniphest Tasks: T12504 Differential Revision: https://secure.phabricator.com/D17649 --- .../files/controller/PhabricatorFileInfoController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/applications/files/controller/PhabricatorFileInfoController.php b/src/applications/files/controller/PhabricatorFileInfoController.php index 7217f284b4..f7e72be2aa 100644 --- a/src/applications/files/controller/PhabricatorFileInfoController.php +++ b/src/applications/files/controller/PhabricatorFileInfoController.php @@ -41,8 +41,8 @@ final class PhabricatorFileInfoController extends PhabricatorFileController { $ttl = $file->getTTL(); if ($ttl !== null) { $ttl_tag = id(new PHUITagView()) - ->setType(PHUITagView::TYPE_STATE) - ->setBackgroundColor(PHUITagView::COLOR_YELLOW) + ->setType(PHUITagView::TYPE_SHADE) + ->setShade(PHUITagView::COLOR_YELLOW) ->setName(pht('Temporary')); $header->addTag($ttl_tag); } @@ -50,8 +50,8 @@ final class PhabricatorFileInfoController extends PhabricatorFileController { $partial = $file->getIsPartial(); if ($partial) { $partial_tag = id(new PHUITagView()) - ->setType(PHUITagView::TYPE_STATE) - ->setBackgroundColor(PHUITagView::COLOR_ORANGE) + ->setType(PHUITagView::TYPE_SHADE) + ->setShade(PHUITagView::COLOR_ORANGE) ->setName(pht('Partial Upload')); $header->addTag($partial_tag); }