mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
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
This commit is contained in:
parent
4a84954957
commit
49132b884b
1 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||||
$ttl = $file->getTTL();
|
$ttl = $file->getTTL();
|
||||||
if ($ttl !== null) {
|
if ($ttl !== null) {
|
||||||
$ttl_tag = id(new PHUITagView())
|
$ttl_tag = id(new PHUITagView())
|
||||||
->setType(PHUITagView::TYPE_STATE)
|
->setType(PHUITagView::TYPE_SHADE)
|
||||||
->setBackgroundColor(PHUITagView::COLOR_YELLOW)
|
->setShade(PHUITagView::COLOR_YELLOW)
|
||||||
->setName(pht('Temporary'));
|
->setName(pht('Temporary'));
|
||||||
$header->addTag($ttl_tag);
|
$header->addTag($ttl_tag);
|
||||||
}
|
}
|
||||||
|
@ -50,8 +50,8 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||||
$partial = $file->getIsPartial();
|
$partial = $file->getIsPartial();
|
||||||
if ($partial) {
|
if ($partial) {
|
||||||
$partial_tag = id(new PHUITagView())
|
$partial_tag = id(new PHUITagView())
|
||||||
->setType(PHUITagView::TYPE_STATE)
|
->setType(PHUITagView::TYPE_SHADE)
|
||||||
->setBackgroundColor(PHUITagView::COLOR_ORANGE)
|
->setShade(PHUITagView::COLOR_ORANGE)
|
||||||
->setName(pht('Partial Upload'));
|
->setName(pht('Partial Upload'));
|
||||||
$header->addTag($partial_tag);
|
$header->addTag($partial_tag);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue