Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F86927
D7626.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
842 B
Referenced Files
None
Subscribers
None
D7626.diff
View Options
diff --git a/src/applications/search/view/PhabricatorSearchResultView.php b/src/applications/search/view/PhabricatorSearchResultView.php
--- a/src/applications/search/view/PhabricatorSearchResultView.php
+++ b/src/applications/search/view/PhabricatorSearchResultView.php
@@ -53,7 +53,10 @@
'');
}
- $object_name = $handle->getFullName();
+ $title = $this->emboldenQuery($handle->getFullName());
+ if ($handle->getStatus() == PhabricatorObjectHandleStatus::STATUS_CLOSED) {
+ $title = phutil_tag('del', array(), $title);
+ }
return hsprintf(
'<div class="phabricator-search-result">'.
@@ -71,7 +74,7 @@
'class' => 'result-name',
'href' => $handle->getURI(),
),
- $this->emboldenQuery($object_name)),
+ $title),
$type_name,
$link);
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/5x/dk/6t7cm57xq3srkfgk
Default Alt Text
D7626.diff (842 B)
Attached To
Mode
D7626: Display closed documents with crossed text in search result.
Attached
Detach File
Event Timeline
Log In to Comment