{% extends "admin/layout.html" %} {% macro google() %} {# Just looks cute #} Google® {% endmacro %} {% block title %}{{ _("Import from Blogger.com") }}{% endblock %} {% block contents %}
{% trans %} This importer allows you to import a blog from Blogger.com. {% endtrans %}
{% if has_auth %} {# already logged in to google, list available blogs for import #}{% trans google=google() %} You are authenticated with {{ google }}. {% endtrans %}
{% else %} {# not logged in to google. Display some info and a log in link #}{% trans google=google() %} You are not authenticated with {{ google }}. You need to authenticate to continue the import. This link will take you to {{ google }}, and once you are authenticated you will be redirected back to this importer. This is the preferred way to authenticate, and although it's a bit clumsy, it is safe. {% endtrans %}
{% trans url=proxy_auth_url,google=google() %} Log into your {{ google }} account {% endtrans %}
{% endif %} {% endblock %}