Highlight Clipper provider #15

Merged
champeno merged 3 commits from Evarin/highlight_clipper into master 2018-09-30 00:15:29 +02:00
3 changed files with 14 additions and 10 deletions
Showing only changes of commit 232236b50b - Show all commits

View file

@ -7,15 +7,15 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-22 22:11+0200\n" "POT-Creation-Date: 2018-06-24 20:10+0200\n"
"PO-Revision-Date: 2018-06-22 22:35+0200\n" "PO-Revision-Date: 2018-06-24 20:10+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Last-Translator: \n"
"Language-Team: \n"
"X-Generator: Poedit 1.8.7.1\n" "X-Generator: Poedit 1.8.7.1\n"
#: apps.py:7 #: apps.py:7
@ -168,6 +168,10 @@ msgstr ""
msgid "Connect with Clipper" msgid "Connect with Clipper"
msgstr "Connexion via Clipper" msgstr "Connexion via Clipper"
#: templates/account/login.html:45
msgid "Other choices"
msgstr "Autres choix"
#: templates/account/login.html:45 #: templates/account/login.html:45
msgid "Other ways to sign in/sign up" msgid "Other ways to sign in/sign up"
msgstr "Autres méthodes de connexion" msgstr "Autres méthodes de connexion"

View file

@ -39,12 +39,12 @@
{% is_clipper_highlighted as highlight_clipper %} {% is_clipper_highlighted as highlight_clipper %}
{% if highlight_clipper %} {% if highlight_clipper %}
<section class="main-login-choices"> <section class="main-login-choices">
<ul> <ul>
<li><a title="Clipper" href="{% provider_login_url "clipper" process="login" scope=scope auth_params=auth_params %}">{% trans "Connect with Clipper" %}</a></li> <li><a title="Clipper" href="{% provider_login_url "clipper" process="login" scope=scope auth_params=auth_params %}">{% trans "Connect with Clipper" %}</a></li>
<li><a title="Other choices" href="javascript:void(0);" onclick="$('.content-wrapper').toggleClass('not-clipper')">{% trans "Other ways to sign in/sign up" %}</a></li> <li><a title="{% trans "Other choices" %}" href="javascript:void(0);" onclick="$('.content-wrapper').toggleClass('not-clipper')">{% trans "Other ways to sign in/sign up" %}</a></li>
</ul> </ul>
</section> </section>
{% endif %} {% endif %}
{% if socialaccount_providers %} {% if socialaccount_providers %}