Differential D20113 Diff 48129 src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | foreach ($accounts as $account) { | ||||
->setHref('/auth/refresh/'.$account->getProviderKey().'/')); | ->setHref('/auth/refresh/'.$account->getProviderKey().'/')); | ||||
} | } | ||||
$item->addAction( | $item->addAction( | ||||
id(new PHUIListItemView()) | id(new PHUIListItemView()) | ||||
->setIcon('fa-times') | ->setIcon('fa-times') | ||||
->setWorkflow(true) | ->setWorkflow(true) | ||||
->setDisabled(!$can_unlink) | ->setDisabled(!$can_unlink) | ||||
->setHref('/auth/unlink/'.$account->getProviderKey().'/')); | ->setHref('/auth/unlink/'.$account->getID().'/')); | ||||
if ($provider) { | if ($provider) { | ||||
$provider->willRenderLinkedAccount($viewer, $item, $account); | $provider->willRenderLinkedAccount($viewer, $item, $account); | ||||
} | } | ||||
$linked->addItem($item); | $linked->addItem($item); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |