aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-26 07:43:04 +0000
committerHumairAK <humair88@hotmail.com>2016-07-26 07:43:04 +0000
commitf016bdbc35b7efa44bd63413bde09433ea916c59 (patch)
tree238a4ffbd447907876b2f1624cdb6f4abc3009eb /views
parent10f1c442e27d82d1fc2c94d1bc0a2ad27917b287 (diff)
added some unit testing, need a lot more
Diffstat (limited to 'views')
-rw-r--r--views/error.hbs5
-rw-r--r--views/user_search.hbs3
2 files changed, 8 insertions, 0 deletions
diff --git a/views/error.hbs b/views/error.hbs
new file mode 100644
index 0000000..062b947
--- /dev/null
+++ b/views/error.hbs
@@ -0,0 +1,5 @@
+<main id = 'solutions-main'>
+ <div class = 'search container' id = 'solutions-div'>
+ <h4>Sorry, we could not find {{ url }}</h4>
+ </div>
+</main>
diff --git a/views/user_search.hbs b/views/user_search.hbs
index 59c9435..f342d26 100644
--- a/views/user_search.hbs
+++ b/views/user_search.hbs
@@ -11,6 +11,9 @@
<h4 class='search-head'>Search results for "{{query}}"</h4>
{{# if users }}
+ <h4 class='search-head'>
+ Found <span id="search-count"> {{ resultCount }}</span> result(s)
+ </h4>
{{# each users}}
<a href="/public_profile/{{this.user_name}}">
<section class = 'solutions-card'>