{{ config.NOTICE_TEXT }}
- Your profile is currently blank. Please fill in your details so you can be part of the network. + Your profile is currently blank. + Please fill in your details so you can be part of the network. Profile
diff --git a/breccia_mapper/templates/base.html b/breccia_mapper/templates/base.html index 3d2ddc0..b69fd7b 100644 --- a/breccia_mapper/templates/base.html +++ b/breccia_mapper/templates/base.html @@ -1,8 +1,8 @@ {% load bootstrap4 %} {% if 'use_i18n'|bootstrap_setting %} - {% load i18n %} - {% get_current_language as LANGUAGE_CODE %} +{% load i18n %} +{% get_current_language as LANGUAGE_CODE %} {% endif %} @@ -25,28 +25,29 @@ crossorigin="anonymous" /> {% load staticfiles %} - + {% if 'javascript_in_head'|bootstrap_setting %} - {% if 'include_jquery'|bootstrap_setting %} - {# jQuery JavaScript if it is in head #} - {% bootstrap_jquery jquery='include_jquery'|bootstrap_setting %} - {% endif %} - - {# Bootstrap JavaScript if it is in head #} - {% bootstrap_javascript %} + {% if 'include_jquery'|bootstrap_setting %} + {# jQuery JavaScript if it is in head #} + {% bootstrap_jquery jquery='include_jquery'|bootstrap_setting %} {% endif %} - {{ form.media.css }} + {# Bootstrap JavaScript if it is in head #} + {% bootstrap_javascript %} + {% endif %} + + {% if form %} + {{ form.media.css }} + {% endif %} {% block extra_head %}{% endblock %}
-- Your profile is currently blank. Please fill in your details so you can be part of the network. + Your profile is currently blank. + Please fill in your details so you can be part of the network. Profile