Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14076323
D20334.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
925 B
Referenced Files
None
Subscribers
None
D20334.diff
View Options
diff --git a/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php b/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
--- a/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
+++ b/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
@@ -120,10 +120,18 @@
$search_engine = $this->getSearchEngine($panel);
$key = $panel->getProperty('key');
$href = $search_engine->getQueryResultsPageURI($key);
+
$icon = id(new PHUIIconView())
- ->setIcon('fa-search')
- ->setHref($href);
- $header->addActionItem($icon);
+ ->setIcon('fa-search');
+
+ $button = id(new PHUIButtonView())
+ ->setTag('a')
+ ->setText(pht('View All'))
+ ->setIcon($icon)
+ ->setHref($href)
+ ->setColor(PHUIButtonView::GREY);
+
+ $header->addActionLink($button);
return $header;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 4:49 PM (7 h, 55 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6774734
Default Alt Text
D20334.diff (925 B)
Attached To
Mode
D20334: Give Dashboard query panels a more obvious "View All" button
Attached
Detach File
Event Timeline
Log In to Comment