mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-08 22:01:03 +01:00
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:
parent
bdfbad092b
commit
c44858f11b
1 changed files with 7 additions and 0 deletions
|
@ -157,6 +157,13 @@ final class PhabricatorProjectProfileController
|
|||
$project,
|
||||
PhabricatorPolicyCapability::CAN_EDIT);
|
||||
|
||||
$view->addAction(
|
||||
id(new PhabricatorActionView())
|
||||
->setName(pht('Edit Project'))
|
||||
->setIcon('fa-pencil')
|
||||
->setHref($this->getApplicationURI("edit/{$id}/")));
|
||||
|
||||
|
||||
$action = null;
|
||||
if (!$project->isUserMember($viewer->getPHID())) {
|
||||
$can_join = PhabricatorPolicyFilter::hasCapability(
|
||||
|
|
Loading…
Reference in a new issue