Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/controller/PhabricatorProjectController.php
Context not available. | |||||
$nav->addIcon(null, pht('Open Tasks'), 'fa-anchor', null, $query_uri); | $nav->addIcon(null, pht('Open Tasks'), 'fa-anchor', null, $query_uri); | ||||
} | } | ||||
$class = 'PhabricatorCalendarApplication'; | |||||
if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) { | |||||
$phid = $project->getPHID(); | |||||
$query_uri = urisprintf( | |||||
'/calendar/?isCancelled=active&projects=%s#R', | |||||
$phid); | |||||
$nav->addIcon('calendar', pht('Calendar'), 'fa-calendar', null, $query_uri); | |||||
} | |||||
$nav->addIcon("feed/{$id}/", pht('Feed'), 'fa-newspaper-o'); | $nav->addIcon("feed/{$id}/", pht('Feed'), 'fa-newspaper-o'); | ||||
$nav->addIcon("members/{$id}/", pht('Members'), 'fa-group'); | $nav->addIcon("members/{$id}/", pht('Members'), 'fa-group'); | ||||
$nav->addIcon("details/{$id}/", pht('Edit Details'), 'fa-pencil'); | $nav->addIcon("details/{$id}/", pht('Edit Details'), 'fa-pencil'); | ||||
Context not available. |