diff --git a/src/templates/modern/li/search.details.tpl b/src/templates/modern/li/search.details.tpl index 24229dd..54727da 100644 --- a/src/templates/modern/li/search.details.tpl +++ b/src/templates/modern/li/search.details.tpl @@ -50,19 +50,19 @@ - +
{text value=$result.title}
- {if $result.excerpt}
{$result.excerpt}
{/if} + {if !empty($result.excerpt)}
{$result.excerpt}
{/if}
- {if $result.date}{date timestamp=$result.date nice=true}{/if} - {if $result.size||$result.size===0}{size bytes=$result.size}{/if} - {if $result.score}{$result.score} %{else}-{/if} + {if $result.date}{date timestamp=$result.date nice=true}{/if} + {if $result.size||$result.size===0}{size bytes=$result.size}{/if} + {if !empty($result.score)}{$result.score} %{else}-{/if} {/foreach} {if $resultCat.massActions} diff --git a/src/templates/modern/li/search.results.tpl b/src/templates/modern/li/search.results.tpl index 2f48c72..f6029ed 100644 --- a/src/templates/modern/li/search.results.tpl +++ b/src/templates/modern/li/search.results.tpl @@ -5,7 +5,7 @@ {foreach from=$resultCat.results item=result} {if $first}{assign var=first value=false}{text value=$resultCat.title}{else} {/if} - + {text value=$result.title cut=25}