Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionCommitController.php
| Show First 20 Lines • Show All 237 Lines • ▼ Show 20 Lines | if ($is_foreign) { | ||||
| $this->commitErrors[] = pht( | $this->commitErrors[] = pht( | ||||
| 'This commit has been deleted in the repository: it is no longer '. | 'This commit has been deleted in the repository: it is no longer '. | ||||
| 'reachable from any branch, tag, or ref.'); | 'reachable from any branch, tag, or ref.'); | ||||
| } | } | ||||
| } | } | ||||
| if (!$commit->isPermanentCommit()) { | if (!$commit->isPermanentCommit()) { | ||||
| $nonpermanent_tag = id(new PHUITagView()) | $nonpermanent_tag = id(new PHUITagView()) | ||||
| ->setType(PHUITagView::TYPE_SHADE) | ->setType(PHUITagView::TYPE_SHADE) | ||||
| ->setName(pht('Not Permanent')) | ->setName(pht('Unpublished')) | ||||
| ->setColor(PHUITagView::COLOR_ORANGE); | ->setColor(PHUITagView::COLOR_ORANGE); | ||||
| $header->addTag($nonpermanent_tag); | $header->addTag($nonpermanent_tag); | ||||
| $this->commitErrors[] = pht( | $this->commitErrors[] = pht( | ||||
| 'This commit is not reachable from any permanent branch, tag, '. | 'This commit is not reachable from any permanent branch, tag, '. | ||||
| 'or ref.'); | 'or ref.'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 909 Lines • Show Last 20 Lines | |||||