diff --git a/src/applications/passphrase/controller/PassphraseCredentialEditController.php b/src/applications/passphrase/controller/PassphraseCredentialEditController.php index 9c86a7f5c9..a35bd3479e 100644 --- a/src/applications/passphrase/controller/PassphraseCredentialEditController.php +++ b/src/applications/passphrase/controller/PassphraseCredentialEditController.php @@ -244,8 +244,8 @@ final class PassphraseCredentialEditController extends PassphraseController { ->setValue($v_name) ->setError($e_name)) ->appendChild( - id(new AphrontFormTextAreaControl()) - ->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_SHORT) + id(new PhabricatorRemarkupControl()) + ->setUser($viewer) ->setName('description') ->setLabel(pht('Description')) ->setValue($v_desc)) diff --git a/src/applications/passphrase/xaction/PassphraseCredentialSecretIDTransaction.php b/src/applications/passphrase/xaction/PassphraseCredentialSecretIDTransaction.php index 2c8e53553a..8089943a96 100644 --- a/src/applications/passphrase/xaction/PassphraseCredentialSecretIDTransaction.php +++ b/src/applications/passphrase/xaction/PassphraseCredentialSecretIDTransaction.php @@ -17,17 +17,9 @@ final class PassphraseCredentialSecretIDTransaction $object->setSecretID($value); } - public function shouldHide() { - if (!$this->getOldValue()) { - return true; - } - - return false; - } - public function getTitle() { $old = $this->getOldValue(); - if ($old === null) { + if (!$old) { return pht( '%s attached a new secret to this credential.', $this->renderAuthor()); @@ -53,4 +45,8 @@ final class PassphraseCredentialSecretIDTransaction } } + public function getIcon() { + return 'fa-key'; + } + }