1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 21:32:43 +01:00

Have milestones inherit colors from parent projects

Summary: Fixes T10737. I agree that this is a better behavior than always making them blue (boring).

Test Plan:
what

{F1208333}

wut

Reviewers: hach-que, chad

Reviewed By: chad

Maniphest Tasks: T10737

Differential Revision: https://secure.phabricator.com/D15643
This commit is contained in:
epriestley 2016-04-06 13:56:40 -07:00
parent 2ae8e57cf1
commit ded0344745

View file

@ -573,7 +573,7 @@ final class PhabricatorProject extends PhabricatorProjectDAO
public function getDisplayColor() { public function getDisplayColor() {
if ($this->isMilestone()) { if ($this->isMilestone()) {
return PhabricatorProjectIconSet::getDefaultColorKey(); return $this->getParentProject()->getColor();
} }
return $this->getColor(); return $this->getColor();