{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Account Connections" %}{% endblock %} {% block content %} {% include "preferences_ribbon.html" %}

{% trans "Connect your Google account" %}

{% if form.accounts %}

{% blocktrans %}You can sign in to your account using a Google account.{% endblocktrans %}

{% csrf_token %}
{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {% for base_account in form.accounts %} {% with base_account.get_provider_account as account %}
{% endwith %} {% endfor %}
{% else %}

{% trans 'You currently have no social network accounts connected to this account.' %}

{% endif %} {% comment %} Web Google OAuth is blocked inside the native app WebView ("disallowed_useragent"); the app links Google accounts through MobileGoogleAuthView instead, so hide the web connect link. {% endcomment %} {% if GOOGLE_LOGIN_ENABLED and not request.is_mobile_app %}

Connect a Google account to your account {% endif %} {% include "socialaccount/snippets/login_extra.html" %} {% endblock %}