Page MenuHomePhabricator

D7626.id17260.diff

D7626.id17260.diff

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

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/5x/dk/6t7cm57xq3srkfgk
Default Alt Text
D7626.id17260.diff (842 B)

Event Timeline