Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2866027
D25683.1736614512.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
659 B
Referenced Files
None
Subscribers
None
D25683.1736614512.diff
View Options
diff --git a/src/applications/people/controller/PhabricatorPeopleController.php b/src/applications/people/controller/PhabricatorPeopleController.php
--- a/src/applications/people/controller/PhabricatorPeopleController.php
+++ b/src/applications/people/controller/PhabricatorPeopleController.php
@@ -16,7 +16,9 @@
if ($name) {
$nav->setBaseURI(new PhutilURI('/p/'));
$nav->addFilter("{$name}/", $name);
- $nav->addFilter("{$name}/calendar/", pht('Calendar'));
+ if (id(new PhabricatorCalendarApplication())->isInstalled()) {
+ $nav->addFilter("{$name}/calendar/", pht('Calendar'));
+ }
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 16:55 (6 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110759
Default Alt Text
D25683.1736614512.diff (659 B)
Attached To
Mode
D25683: Only display "Calendar" entry in user profile page menu on mobile when Calendar application is installed
Attached
Detach File
Event Timeline
Log In to Comment