diff options
author | Corey Hulen <corey@hulen.com> | 2015-11-03 12:48:58 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-11-03 12:48:58 -0800 |
commit | 34c4f77d8c4a8e85ebc0b96e74d8e5a048351f24 (patch) | |
tree | 754de83dd0c2648ff67f29d6190b825aa9d32eb6 /web/react/components/search_results.jsx | |
parent | 0f3fe79b8053672220cdbda3ba68974c1b2bf7d8 (diff) | |
parent | 38fd4acebd17775c9adc81f719ffc044e3bf6cde (diff) | |
download | chat-34c4f77d8c4a8e85ebc0b96e74d8e5a048351f24.tar.gz chat-34c4f77d8c4a8e85ebc0b96e74d8e5a048351f24.tar.bz2 chat-34c4f77d8c4a8e85ebc0b96e74d8e5a048351f24.zip |
Merge pull request #1282 from asaadmahmoodspin/ui-improvements
Multiple UI changes
Diffstat (limited to 'web/react/components/search_results.jsx')
-rw-r--r-- | web/react/components/search_results.jsx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/web/react/components/search_results.jsx b/web/react/components/search_results.jsx index ce19c48f0..b56a7b006 100644 --- a/web/react/components/search_results.jsx +++ b/web/react/components/search_results.jsx @@ -83,7 +83,16 @@ export default class SearchResults extends React.Component { var ctls = null; if (noResults) { - ctls = <div className='sidebar--right__subheader'>No results</div>; + ctls = + ( + <div className='sidebar--right__subheader'> + <h4>{'NO RESULTS'}</h4> + <ul> + <li>If you're searching a partial phrase (ex. searching "rea", looking for "reach" or "reaction"), append a * to your search term</li> + <li>Due to the volume of results, two letter searches and common words like "this", "a" and "is" won't appear in search results</li> + </ul> + </div> + ); } else { ctls = results.order.map(function mymap(id) { var post = results.posts[id]; |