Skip to content

Commit

Permalink
Merge pull request #11 from vithun/plugin_search_no_result
Browse files Browse the repository at this point in the history
Improved message when plugin search finds zero or one result
  • Loading branch information
graemerocher committed Nov 27, 2012
2 parents 663cf4e + b251015 commit 20f4e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/views/plugin/list.gsp
Expand Up @@ -35,10 +35,10 @@
</g:if>

<g:if test="${query}">
<g:if test="${searchResult}">
<g:if test="${searchResult.results}">
<p>
Showing <strong>${searchResult.offset + 1}</strong> - <strong>${searchResult.results.size() + searchResult.offset}</strong> of <strong>${searchResult.total}</strong>
results for <strong>${query}</strong>
result${searchResult.results.size() > 1 ? 's' : ''} for <strong>${query}</strong>
</p>
</g:if>
<g:elseif test="${parseException}">
Expand Down

0 comments on commit 20f4e54

Please sign in to comment.