diff --git a/bitpoll/base/templates/base/index.html b/bitpoll/base/templates/base/index.html index 7d4725b..bfe4850 100644 --- a/bitpoll/base/templates/base/index.html +++ b/bitpoll/base/templates/base/index.html @@ -19,11 +19,15 @@ {% value_from_settings POLL_CREATION_REQUIRES_LOGIN as requires_login %} {% value_from_settings POLL_CREATION_ACCOUNT_WEBSITE as account_website %} {% value_from_settings POLL_CREATION_ACCOUNT_NAME as account_name %} + {% value_from_settings OPENID_ENABLED as openid %} {% if requires_login and request.user.is_anonymous %}

{% trans 'Login required to create polls' %}


{% blocktrans %}This instance is reserved for users of {{ account_name }}. If you do not have an account there, please use the public version at bitpoll.de.{% endblocktrans %}

+ {% if openid %} +  {% trans 'Login' %} + {% endif %} {% else %}

{% trans 'Create a poll' %}


@@ -203,7 +207,6 @@

{% trans 'Create a poll' %}

- {% value_from_settings OPENID_ENABLED as openid %} {% if request.user.is_anonymous and not openid %}