From bea79c11e7c3c8beebad1457e7841b73831e9e26 Mon Sep 17 00:00:00 2001 From: Jason Cooper <scrapheap@heckrothindustries.co.uk> Date: Fri, 20 Oct 2017 17:17:28 +0100 Subject: [PATCH] Added `search-query-time` span so that the query time field in results can be targetted by CSS. (#1059) --- themes/bootstrap3/templates/search/controls/showing.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap3/templates/search/controls/showing.phtml b/themes/bootstrap3/templates/search/controls/showing.phtml index 6461dc1260b..dd21b1209be 100644 --- a/themes/bootstrap3/templates/search/controls/showing.phtml +++ b/themes/bootstrap3/templates/search/controls/showing.phtml @@ -22,7 +22,7 @@ <? endif; ?> <? $this->layout()->srmessage = $showingResults; ?> <? if ($qtime = $this->results->getQuerySpeed()): ?> - <?=$showingResults; ?>, <?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?> + <?=$showingResults; ?><span class="search-query-time">, <?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?></span> <? else: ?> <?=$showingResults; ?> <? endif; ?> -- GitLab