{% extends "base.html" %} {% block content %}
{% if user %}

{{ _('Welcome, %(name)s', name=user.display_name) }}

{% if appearance.welcome %}

{{ appearance.welcome }}

{% endif %} {% if open_forms %}

{{ _('Open forms for you') }}

{% else %}

{{ _('There are currently no open forms for you.') }}

{% endif %} {% if team_forms %}

{{ _('Forms you help with') }}

{% endif %} {% else %}

{{ appearance.name }}

{% if appearance.welcome %}

{{ appearance.welcome }}

{% else %}

{{ _('Forms and polls, self-hosted.') }}

{% endif %}

{{ _('Sign in') }}

{% endif %} {% if db_ok is not none %}
{{ _('Version') }}
{{ surveybox_version }}
{{ _('Database') }}
{% if db_ok %} {{ _('connected and up to date') }} {% else %} {{ _('not reachable or not up to date') }} {% endif %}
{% endif %}
{% endblock %}