Removed js from search_form, tasks

Added translation of bootstrap-select in user table
This commit is contained in:
Ozzie Isaacs
2021-10-03 08:01:33 +02:00
parent b8eb557761
commit b82d03c12c
3 changed files with 3 additions and 7 deletions

View File

@@ -228,10 +228,6 @@
{% endblock %}
{% block js %}
<script>
var language = '{{ g.user.locale }}';
</script>
<script src="{{ url_for('static', filename='js/libs/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
{% if not g.user.locale == 'en' %}
<script src="{{ url_for('static', filename='js/libs/bootstrap-datepicker/locales/bootstrap-datepicker.' + g.user.locale + '.min.js') }}" charset="UTF-8"></script>