From 83762237091ea91da43c2fea5aacd5a9ed6153e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20De=CC=81le=CC=80ze?= Date: Wed, 9 Jun 2021 08:40:27 +0200 Subject: [PATCH] ui: update scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updates scripts to load the UI because they are generated for ES5 and ES2015 now. Co-Authored-by: Sébastien Délèze --- .../templates/sonar/accounts/profile.html | 33 +++++++++++-------- sonar/theme/templates/sonar/manage.html | 9 +++-- sonar/theme/templates/sonar/search.html | 9 +++-- 3 files changed, 31 insertions(+), 20 deletions(-) diff --git a/sonar/theme/templates/sonar/accounts/profile.html b/sonar/theme/templates/sonar/accounts/profile.html index 71a2b816..4a130e63 100644 --- a/sonar/theme/templates/sonar/accounts/profile.html +++ b/sonar/theme/templates/sonar/accounts/profile.html @@ -1,18 +1,19 @@ {# -*- coding: utf-8 -*- - Swiss Open Access Repository - Copyright (C) 2021 RERO +Swiss Open Access Repository +Copyright (C) 2021 RERO - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, version 3 of the License. +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, version 3 of the License. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see +. #} {% extends 'sonar/page_settings.html' %} @@ -24,9 +25,13 @@ {%- endblock settings_body %} {%- block javascript %} - - - + + + + + + + - + + + + - + + diff --git a/sonar/theme/templates/sonar/search.html b/sonar/theme/templates/sonar/search.html index 6fde7b5a..13132a54 100644 --- a/sonar/theme/templates/sonar/search.html +++ b/sonar/theme/templates/sonar/search.html @@ -10,8 +10,11 @@ {%- block javascript %} {{ super() }} - - + + + + - + + {%- endblock javascript %}