From d9ca2a0542ba508786af15e83de74af7497c0b60 Mon Sep 17 00:00:00 2001 From: mb Date: Mon, 22 Jun 2020 14:24:16 +0200 Subject: [PATCH] login with tugraz added segment with hyperlink to login with SSO of tugraz. This closes #23. --- .../invenio_theme_tugraz/accounts/login.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html index d807867..56f5898 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html @@ -18,9 +18,17 @@

{{ _('Log in to account') }}

{%- endblock form_header %} - + + {%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH == 'True' %} +
+ + + {% trans type='TU Graz' %} Log in with {{ type }}{% endtrans %} + +
+

— OR —

+ {%- endif %} + {%- block form_outer %} {%- with form = login_user_form %}