Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15502451
D8015.id18129.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8015.id18129.diff
View Options
Index: src/applications/diffusion/controller/DiffusionRepositoryController.php
===================================================================
--- src/applications/diffusion/controller/DiffusionRepositoryController.php
+++ src/applications/diffusion/controller/DiffusionRepositoryController.php
@@ -359,25 +359,31 @@
$handles = $this->loadViewerHandles($phids);
$view->setHandles($handles);
- $panel = id(new AphrontPanelView())
- ->setHeader(pht('Tags'))
- ->setNoBackground(true);
+ $panel = new PHUIObjectBoxView();
+ $header = new PHUIHeaderView();
+ $header->setHeader(pht('Tags'));
if ($more_tags) {
- $panel->setCaption(pht('Showing the %d most recent tags.', $tag_limit));
+ $header->setSubHeader(
+ pht('Showing the %d most recent tags.', $tag_limit));
}
- $panel->addButton(
- phutil_tag(
- 'a',
- array(
- 'href' => $drequest->generateURI(
+ $icon = id(new PHUIIconView())
+ ->setSpriteSheet(PHUIIconView::SPRITE_ICONS)
+ ->setSpriteIcon('tag');
+
+ $button = new PHUIButtonView();
+ $button->setText(pht("Show All Tags"));
+ $button->setTag('a');
+ $button->setIcon($icon);
+ $button->setHref($drequest->generateURI(
array(
'action' => 'tags',
- )),
- 'class' => 'grey button',
- ),
- pht("Show All Tags \xC2\xBB")));
+ )));
+
+ $header->addActionLink($button);
+
+ $panel->setHeader($header);
$panel->appendChild($view);
return $panel;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 15, 1:02 AM (1 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7695333
Default Alt Text
D8015.id18129.diff (1 KB)
Attached To
Mode
D8015: Add PHUIObjectBoxView to Diffusion Tags
Attached
Detach File
Event Timeline
Log In to Comment