Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15440573
D11815.id28480.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
952 B
Referenced Files
None
Subscribers
None
D11815.id28480.diff
View Options
diff --git a/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php b/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php
--- a/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php
+++ b/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php
@@ -123,16 +123,13 @@
$panel = new PHUIObjectBoxView();
$header = id(new PHUIHeaderView())
- ->setHeaderText(pht('XHProf Profile'));
+ ->setHeader(pht('XHProf Profile'));
if ($this->file) {
- $button = phutil_tag(
- 'a',
- array(
- 'href' => $this->file->getBestURI(),
- 'class' => 'green button',
- ),
- pht('Download .xhprof Profile'));
+ $button = id(new PHUIButtonView())
+ ->setHref($this->file->getBestURI())
+ ->setText(pht('Download .xhprof Profile'))
+ ->setTag('a');
$header->addActionLink($button);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 27 2025, 1:36 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390082
Default Alt Text
D11815.id28480.diff (952 B)
Attached To
Mode
D11815: Fix fatal in XHProf
Attached
Detach File
Event Timeline
Log In to Comment