{% extends 'ostatus/template.html' %} {% load i18n %} {% load utilities %} {% load markdown %} {% block title %} {% if not request.user.is_authenticated %} {% blocktrans with sitename=site.name %}Log in to {{ sitename }}{% endblocktrans %} {% elif error %} {% blocktrans with sitename=site.name %}Error following from {{ sitename }}{% endblocktrans %} {% else %} {% blocktrans with sitename=site.name %}Follow from {{ sitename }}{% endblocktrans %} {% endif %} {% endblock %} {% block heading %} {% if error %} {% trans 'Uh oh...' %} {% elif not request.user.is_authenticated %} {% trans "Let's log in first..." %} {% else %} {% blocktrans with sitename=site.name %}Follow from {{ sitename }}{% endblocktrans %} {% endif %} {% endblock %} {% block content %} {% if error or not request.user.is_authenticated %} {% include 'ostatus/error.html' with error=error user=user account=account %} {% else %}
{% if user.summary %} {{ user.summary|to_markdown|safe|truncatechars_html:120 }} {% else %} {% endif %}
{% endif %} {% endblock %}