Page MenuHomePhabricator

D7626.diff
No OneTemporary

D7626.diff

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

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)

Event Timeline