Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/storage/PhabricatorProject.php
Show First 20 Lines • Show All 478 Lines • ▼ Show 20 Lines | if (!$current) { | ||||
$number = 1; | $number = 1; | ||||
} else { | } else { | ||||
$number = (int)$current['n'] + 1; | $number = (int)$current['n'] + 1; | ||||
} | } | ||||
return $number; | return $number; | ||||
} | } | ||||
public function getDisplayIcon() { | |||||
if ($this->isMilestone()) { | |||||
return 'fa-map-marker'; | |||||
} | |||||
return $this->getIcon(); | |||||
} | |||||
public function getDisplayColor() { | |||||
if ($this->isMilestone()) { | |||||
return self::DEFAULT_COLOR; | |||||
} | |||||
return $this->getColor(); | |||||
} | |||||
/* -( PhabricatorSubscribableInterface )----------------------------------- */ | /* -( PhabricatorSubscribableInterface )----------------------------------- */ | ||||
public function isAutomaticallySubscribed($phid) { | public function isAutomaticallySubscribed($phid) { | ||||
return false; | return false; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |