{% extends app.request.isXmlHttpRequest() ? "ajax.html" : "layout.html" %} {% block title %}{% if mentioned_entity is defined %}Notifications{% else %}Stream{% endif %}{% endblock %} {% block content %}