Skip to content
Snippets Groups Projects
Commit 794b9544 authored by pfleu's avatar pfleu
Browse files

Update bootstrap. Fix messages.

parent 0f2281d7
No related branches found
No related tags found
No related merge requests found
......@@ -45,14 +45,14 @@ class UserProfileFormType extends AbstractType
'mapped' => false, // This field is not mapped to any property
'data' => $options['userLocale'], // Set the initial locale from the user's data
])
->add('activePersonalStats', CheckboxType::class, [
'required' => false,
'label' => 'user_profile.active_personal_stats',
])
->add('activeGamification', CheckboxType::class, [
'required' => false,
'label' => 'user_profile.active_gamification',
])
->add('activePersonalStats', CheckboxType::class, [
'required' => false,
'label' => 'user_profile.active_personal_stats',
])
->add('shareDataWithOtherUsers', CheckboxType::class, [
'required' => false,
'label' => 'user_profile.share_data_with_other_users',
......
......@@ -9,7 +9,7 @@
{% block stylesheets %}
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
{{ encore_entry_link_tags('app') }}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
<link rel="stylesheet" href="{{ asset('assets/css/font-awesome.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/app.css') }}">
......@@ -17,7 +17,7 @@
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.7.0.min.js" integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
......
......@@ -23,8 +23,8 @@ Comments: Commentaire
user_profile.email: Email
user_profile.native_language: 'Langue native'
user_profile.app_language: 'Langue interface'
user_profile.active_personal_stats: 'Partage de statistiques personnelles'
user_profile.active_gamification: 'Activer Gamification'
user_profile.active_personal_stats: 'Activer les statistiques personnelles'
user_profile.active_gamification: 'Activer la gamification'
user_profile.share_data_with_other_users: 'Partager les données avec d''autres utilisateurs'
user_profile.share_data_with_researchers: 'Partager les données avec les chercheur'
user_profile.profile_picture: 'Photo de profil'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment