Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14012288
D7626.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
836 B
Referenced Files
None
Subscribers
None
D7626.diff
View Options
Index: src/applications/search/view/PhabricatorSearchResultView.php
===================================================================
--- src/applications/search/view/PhabricatorSearchResultView.php
+++ 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/plain
Expires
Sat, Nov 2, 10:41 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719693
Default Alt Text
D7626.diff (836 B)
Attached To
Mode
D7626: Display closed documents with crossed text in search result.
Attached
Detach File
Event Timeline
Log In to Comment