Differential D18339 Diff 44158 src/applications/releeph/differential/DifferentialReleephRequestFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/differential/DifferentialReleephRequestFieldSpecification.php
| Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | if ($tense === null) { | ||||
| ); | ); | ||||
| } | } | ||||
| $releeph_requests = $this->loadReleephRequests(); | $releeph_requests = $this->loadReleephRequests(); | ||||
| if (!$releeph_requests) { | if (!$releeph_requests) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| $status = $this->getRevision()->getStatus(); | if ($this->getRevision()->isClosed()) { | ||||
| if ($status == ArcanistDifferentialRevisionStatus::CLOSED) { | |||||
| $verb = $tense[$this->releephAction]['past']; | $verb = $tense[$this->releephAction]['past']; | ||||
| } else { | } else { | ||||
| $verb = $tense[$this->releephAction]['future']; | $verb = $tense[$this->releephAction]['future']; | ||||
| } | } | ||||
| $parts = hsprintf('%s...', $verb); | $parts = hsprintf('%s...', $verb); | ||||
| foreach ($releeph_requests as $releeph_request) { | foreach ($releeph_requests as $releeph_request) { | ||||
| $parts->appendHTML(phutil_tag('br')); | $parts->appendHTML(phutil_tag('br')); | ||||
| ▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines | |||||