mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 13:38:19 +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,
|
$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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue