Add back edit project link on profile page
Summary: We still seem to reach for this, though may be time to remove Wiki? Test Plan: view link Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11393
This commit is contained in:
@@ -157,6 +157,13 @@ final class PhabricatorProjectProfileController
|
|||||||
$project,
|
$project,
|
||||||
PhabricatorPolicyCapability::CAN_EDIT);
|
PhabricatorPolicyCapability::CAN_EDIT);
|
||||||
|
|
||||||
|
$view->addAction(
|
||||||
|
id(new PhabricatorActionView())
|
||||||
|
->setName(pht('Edit Project'))
|
||||||
|
->setIcon('fa-pencil')
|
||||||
|
->setHref($this->getApplicationURI("edit/{$id}/")));
|
||||||
|
|
||||||
|
|
||||||
$action = null;
|
$action = null;
|
||||||
if (!$project->isUserMember($viewer->getPHID())) {
|
if (!$project->isUserMember($viewer->getPHID())) {
|
||||||
$can_join = PhabricatorPolicyFilter::hasCapability(
|
$can_join = PhabricatorPolicyFilter::hasCapability(
|
||||||
|
|||||||
Reference in New Issue
Block a user