userinfo-avatar.html.twig 223 B

12345
  1. {% if data.avatar %}
  2. <label><img src="{{ base_url_simple ~ '/' ~ (data.avatar|first).path }}" /></label>
  3. {% else %}
  4. <label><img src="https://www.gravatar.com/avatar/{{ data.email|md5 }}?s=200" /></label>
  5. {% endif %}