diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-11-03 19:56:46 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-11-03 19:56:46 +0500 |
commit | c49f3b3956fae1b00145568140c940d5fa053eb8 (patch) | |
tree | c4c15887238daa04bc47586c4b699cda03a969f3 /web/react/components/search_results.jsx | |
parent | ad3427e7e25c42f6087469703ed79153f6bb5344 (diff) | |
download | chat-c49f3b3956fae1b00145568140c940d5fa053eb8.tar.gz chat-c49f3b3956fae1b00145568140c940d5fa053eb8.tar.bz2 chat-c49f3b3956fae1b00145568140c940d5fa053eb8.zip |
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]; |