Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13971714
D17851.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17851.diff
View Options
diff --git a/src/applications/passphrase/controller/PassphraseCredentialEditController.php b/src/applications/passphrase/controller/PassphraseCredentialEditController.php
--- a/src/applications/passphrase/controller/PassphraseCredentialEditController.php
+++ b/src/applications/passphrase/controller/PassphraseCredentialEditController.php
@@ -244,8 +244,8 @@
->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
--- a/src/applications/passphrase/xaction/PassphraseCredentialSecretIDTransaction.php
+++ b/src/applications/passphrase/xaction/PassphraseCredentialSecretIDTransaction.php
@@ -17,17 +17,9 @@
$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 @@
}
}
+ public function getIcon() {
+ return 'fa-key';
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 18, 2:55 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6727454
Default Alt Text
D17851.diff (1 KB)
Attached To
Mode
D17851: Clean up some Passphrase transaction bugs
Attached
Detach File
Event Timeline
Log In to Comment