Page MenuHomePhabricator

D8730.diff
No OneTemporary

D8730.diff

diff --git a/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php b/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
--- a/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
+++ b/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
@@ -269,10 +269,13 @@
PhabricatorEdgeConfig::TYPE_OBJECT_HAS_PROJECT);
if ($project_phids) {
$this->loadHandles($project_phids);
- $view->addProperty(
- pht('Projects'),
- $this->renderHandlesForPHIDs($project_phids));
+ $project_text = $this->renderHandlesForPHIDs($project_phids);
+ } else {
+ $project_text = phutil_tag('em', array(), pht('None'));
}
+ $view->addProperty(
+ pht('Projects'),
+ $project_text);
$view->addProperty(
pht('Status'),

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 9:01 AM (3 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7026980
Default Alt Text
D8730.diff (879 B)

Event Timeline