Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14026036
D7605.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
680 B
Referenced Files
None
Subscribers
None
D7605.diff
View Options
Index: src/applications/paste/controller/PhabricatorPasteViewController.php
===================================================================
--- src/applications/paste/controller/PhabricatorPasteViewController.php
+++ src/applications/paste/controller/PhabricatorPasteViewController.php
@@ -157,8 +157,10 @@
}
private function buildHeaderView(PhabricatorPaste $paste) {
+ $title = (nonempty($paste->getTitle())) ?
+ $paste->getTitle() : pht('(An Untitled Masterwork)');
$header = id(new PHUIHeaderView())
- ->setHeader($paste->getTitle())
+ ->setHeader($title)
->setUser($this->getRequest()->getUser())
->setPolicyObject($paste);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 10:31 PM (4 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6747902
Default Alt Text
D7605.diff (680 B)
Attached To
Mode
D7605: Set a default paste header
Attached
Detach File
Event Timeline
Log In to Comment