Page MenuHomePhabricator

D20334.diff
No OneTemporary

D20334.diff

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

Mime Type
text/plain
Expires
Sun, May 12, 3:15 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6287818
Default Alt Text
D20334.diff (925 B)

Event Timeline