Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14761495
D16253.id39095.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16253.id39095.diff
View Options
diff --git a/src/applications/owners/controller/PhabricatorOwnersPathsController.php b/src/applications/owners/controller/PhabricatorOwnersPathsController.php
--- a/src/applications/owners/controller/PhabricatorOwnersPathsController.php
+++ b/src/applications/owners/controller/PhabricatorOwnersPathsController.php
@@ -82,7 +82,13 @@
}
}
- $repos = mpull($repos, 'getDisplayName', 'getPHID');
+
+ $repo_map = array();
+ foreach ($repos as $key => $repo) {
+ $monogram = $repo->getMonogram();
+ $name = $repo->getName();
+ $repo_map[$repo->getPHID()] = "{$monogram} {$name}";
+ }
asort($repos);
$template = new AphrontTypeaheadTemplateView();
@@ -94,7 +100,7 @@
'root' => 'path-editor',
'table' => 'paths',
'add_button' => 'addpath',
- 'repositories' => $repos,
+ 'repositories' => $repo_map,
'input_template' => $template,
'pathRefs' => $path_refs,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 1:42 AM (18 h, 29 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7038518
Default Alt Text
D16253.id39095.diff (1 KB)
Attached To
Mode
D16253: Show more repository information in Owners path editing dropdown
Attached
Detach File
Event Timeline
Log In to Comment