fix gravatar link

* gravatar link opens in blank page
* gravatar link and gravatar email only is shown in edit pages.