Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15379159
D17281.id41572.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
776 B
Referenced Files
None
Subscribers
None
D17281.id41572.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorProfileMenuEngine.php b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
--- a/src/applications/search/engine/PhabricatorProfileMenuEngine.php
+++ b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
@@ -214,6 +214,9 @@
}
}
}
+ $page_title = pht('Configure Menu');
+ } else {
+ $page_title = $selected_item->getDisplayName();
}
switch ($item_action) {
@@ -293,10 +296,8 @@
$crumbs->setBorder(true);
- // TODO: This title is not correct when viewing items.
-
$page = $controller->newPage()
- ->setTitle(pht('Configure Menu'))
+ ->setTitle($page_title)
->setCrumbs($crumbs)
->appendChild($content);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 7:03 PM (2 w, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382551
Default Alt Text
D17281.id41572.diff (776 B)
Attached To
Mode
D17281: Improve page titles for menu items that render in-context content
Attached
Detach File
Event Timeline
Log In to Comment