Page MenuHomePhabricator

D18489.diff
No OneTemporary

D18489.diff

diff --git a/src/applications/settings/controller/PhabricatorSettingsMainController.php b/src/applications/settings/controller/PhabricatorSettingsMainController.php
--- a/src/applications/settings/controller/PhabricatorSettingsMainController.php
+++ b/src/applications/settings/controller/PhabricatorSettingsMainController.php
@@ -205,7 +205,10 @@
if ($panel->getPanelGroupKey() != $group_key) {
$group_key = $panel->getPanelGroupKey();
$group = $panel->getPanelGroup();
- $nav->addLabel($group->getPanelGroupName());
+ $panel_name = $group->getPanelGroupName();
+ if ($panel_name) {
+ $nav->addLabel($panel_name);
+ }
}
$nav->addFilter($panel->getPanelKey(), $panel->getPanelName());
diff --git a/src/applications/settings/panelgroup/PhabricatorSettingsAccountPanelGroup.php b/src/applications/settings/panelgroup/PhabricatorSettingsAccountPanelGroup.php
--- a/src/applications/settings/panelgroup/PhabricatorSettingsAccountPanelGroup.php
+++ b/src/applications/settings/panelgroup/PhabricatorSettingsAccountPanelGroup.php
@@ -6,7 +6,7 @@
const PANELGROUPKEY = 'account';
public function getPanelGroupName() {
- return pht('Account');
+ return null;
}
protected function getPanelGroupOrder() {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 3:37 PM (17 h, 37 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6778821
Default Alt Text
D18489.diff (1 KB)

Event Timeline