From 9fa6184b0adaf18906e425899dab11cd3c522e37 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Tue, 19 Jul 2016 15:23:22 -0700 Subject: [PATCH 1/3] [Frontend] Markup / Angular mods to Search Fixes #1093 WIP: markup changes. Needs CSS mods effected in #1047 as well. --- platform/search/res/templates/search.html | 87 +++++++++++++---------- 1 file changed, 51 insertions(+), 36 deletions(-) diff --git a/platform/search/res/templates/search.html b/platform/search/res/templates/search.html index abad85e38a..c7d5e101e0 100644 --- a/platform/search/res/templates/search.html +++ b/platform/search/res/templates/search.html @@ -19,41 +19,56 @@ this source code distribution or the Licensing information page available at runtime from the About dialog for additional information. --> - - Cancel @@ -51,13 +51,16 @@
- Filtered by: {{ ngModel.filtersString }}
-
- No results found
+
+ {{ + !results.length > 0? 'No results found': + results.length + ' result' + (results.length > 1? 's':'') + ' found' + }} +
From f3bd88837f88312005124e6c3c17d7af7a7841a8 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Mon, 8 Aug 2016 17:51:39 -0700 Subject: [PATCH 3/3] Merge remote-tracking branch 'origin/master' into search1093-b Conflicts: platform/search/res/templates/search.html --- platform/search/res/templates/search.html | 100 ++++++++++++---------- 1 file changed, 55 insertions(+), 45 deletions(-) diff --git a/platform/search/res/templates/search.html b/platform/search/res/templates/search.html index 494b56841a..f589a1f4d5 100644 --- a/platform/search/res/templates/search.html +++ b/platform/search/res/templates/search.html @@ -19,52 +19,62 @@ this source code distribution or the Licensing information page available at runtime from the About dialog for additional information. --> -