Reload page after user has changed its own theme.

This commit is contained in:
Jan Böhmer 2019-10-13 18:01:13 +02:00
parent 0b69de332d
commit 4a6f327c70
2 changed files with 13 additions and 2 deletions

View file

@ -6,6 +6,10 @@
{% trans %}user.settings.label{% endtrans %}{% endblock %}
{% block card_content %}
{% if page_need_reload %}
<script>window.location.href = window.location.href;</script>
{% endif %}
{{ form_start(settings_form) }}
<ul class="nav nav-tabs" id="myTab" role="tablist">
@ -54,4 +58,4 @@
{{ form_end(pw_form) }}
</div>
</div>
{% endblock %}
{% endblock %}