Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14053826
D11815.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.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
Sat, Nov 16, 7:55 PM (3 d, 15 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6737399
Default Alt Text
D11815.diff (952 B)
Attached To
Mode
D11815: Fix fatal in XHProf
Attached
Detach File
Event Timeline
Log In to Comment