Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | foreach ($handles as $phid => $handle) { | ||||
| if (strlen($slug)) { | if (strlen($slug)) { | ||||
| $handle->setObjectName('#'.$slug); | $handle->setObjectName('#'.$slug); | ||||
| $handle->setURI("/tag/{$slug}/"); | $handle->setURI("/tag/{$slug}/"); | ||||
| } else { | } else { | ||||
| $handle->setURI("/project/view/{$id}/"); | $handle->setURI("/project/view/{$id}/"); | ||||
| } | } | ||||
| $handle->setImageURI($project->getProfileImageURI()); | $handle->setImageURI($project->getProfileImageURI()); | ||||
| $handle->setIcon($project->getDisplayIcon()); | $handle->setIcon($project->getDisplayIconIcon()); | ||||
chad: lul | |||||
| $handle->setTagColor($project->getDisplayColor()); | $handle->setTagColor($project->getDisplayColor()); | ||||
| if ($project->isArchived()) { | if ($project->isArchived()) { | ||||
| $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED); | $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||
lul