diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-25 20:22:53 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-25 20:22:53 +0000 |
| commit | 6377cd850af2ce4258d5d2bcaee86168bb18f67a (patch) | |
| tree | 5888b02518db3e2518531cdd058062340fd11160 /views/user_search.hbs | |
| parent | 6476c420cd1523aeed6bc8ac20aeccb43e207a95 (diff) | |
added public profile for users
Diffstat (limited to 'views/user_search.hbs')
| -rw-r--r-- | views/user_search.hbs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/views/user_search.hbs b/views/user_search.hbs index fd08e84..59c9435 100644 --- a/views/user_search.hbs +++ b/views/user_search.hbs @@ -1,9 +1,18 @@ <main id = 'solutions-main'> <div class = 'search container' id = 'solutions-div'> + + <!--- Check to see if something went wrong db end ---> + {{# if messages.error }} + <section class="alert alert-danger custom-Alert"> + <h4>{{ messages.error }}</h4> + </section> + {{/if}} + + <h4 class='search-head'>Search results for "{{query}}"</h4> {{# if users }} {{# each users}} - <a href="/public_profile/{{this._id}}"> + <a href="/public_profile/{{this.user_name}}"> <section class = 'solutions-card'> <h3 class = 'solutions-title'>{{this.user_name}}</h3> <p class = 'solutions-time' > |
