mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
issue #9 fix
This commit is contained in:
@@ -41,7 +41,7 @@ SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
|
||||
# footer template
|
||||
THEME_FOOTER_TEMPLATE = 'invenio_theme_tugraz/footer.html'
|
||||
|
||||
# uncomment this to use the login with Tugraz @ login.html
|
||||
# set True if SAML is configured.
|
||||
SHIBBOLETH_ISACTIVE = 'False'
|
||||
|
||||
# icon used in login page
|
||||
@@ -59,6 +59,9 @@ MAIL_SUPPRESS_SEND = False
|
||||
# Invenio-I18N
|
||||
# ============
|
||||
# See https://invenio-i18n.readthedocs.io/en/latest/configuration.html
|
||||
BABEL_DEFAULT_LOCALE = 'en'
|
||||
# Default time zone
|
||||
BABEL_DEFAULT_TIMEZONE = 'Europe/Vienna'
|
||||
# Other supported languages (do not include BABEL_DEFAULT_LOCALE in list).
|
||||
I18N_LANGUAGES = [
|
||||
('de', _('German'))
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<h3 class="text-center panel-free-title">{{_('Log in to account') }}</h3>
|
||||
|
||||
|
||||
{%- if config.SHIBBOLETH_ISACTIVE %}
|
||||
{%- if config.SHIBBOLETH_ISACTIVE == 'True' %}
|
||||
<div class="col">
|
||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="btn btn-default btn-lg btn-block"
|
||||
class="btn btn-outline-primary btn-block">
|
||||
|
||||
Reference in New Issue
Block a user