Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18756531
D16109.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1014 B
Referenced Files
None
Subscribers
None
D16109.diff
View Options
diff --git a/src/applications/phame/query/PhamePostSearchEngine.php b/src/applications/phame/query/PhamePostSearchEngine.php
--- a/src/applications/phame/query/PhamePostSearchEngine.php
+++ b/src/applications/phame/query/PhamePostSearchEngine.php
@@ -104,15 +104,19 @@
if ($post->isDraft()) {
$item->setStatusIcon('fa-star-o grey');
$item->setDisabled(true);
- $item->addIcon('none', pht('Draft Post'));
+ $item->addIcon('fa-star-o', pht('Draft Post'));
} else if ($post->isArchived()) {
$item->setStatusIcon('fa-ban grey');
$item->setDisabled(true);
- $item->addIcon('none', pht('Archived Post'));
+ $item->addIcon('fa-ban', pht('Archived Post'));
} else {
$date = $post->getDatePublished();
$item->setEpoch($date);
}
+ $item->addAction(
+ id(new PHUIListItemView())
+ ->setIcon('fa-pencil')
+ ->setHref($post->getEditURI()));
$list->addItem($item);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 6 2025, 11:58 AM (21 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8662790
Default Alt Text
D16109.diff (1014 B)
Attached To
Mode
D16109: Add edit-pencil to ApplicationSearch for PhamePosts
Attached
Detach File
Event Timeline
Log In to Comment