diff --git a/jm2l/templates/Profil/Profil.mako b/jm2l/templates/Profil/Profil.mako index 074b6bd..e342add 100644 --- a/jm2l/templates/Profil/Profil.mako +++ b/jm2l/templates/Profil/Profil.mako @@ -77,7 +77,7 @@ ${helpers.DisplayRespForm(profil_form, DicFormB)} Année - Entitée + Entité Rôle Action diff --git a/jm2l/templates/edit_event.mako b/jm2l/templates/edit_event.mako index 8c29898..ef5d1d0 100644 --- a/jm2l/templates/edit_event.mako +++ b/jm2l/templates/edit_event.mako @@ -116,7 +116,7 @@ DicForm = { class="form-control select2-offscreen" tabindex="-1"> NB : Notez que les entités séléctionnées apparaissent dans les exposants. @@ -162,7 +162,7 @@ DicForm = { jQuery(function() { $("#tiers").select2( { - placeholder: 'Entrez ici votre entitée', + placeholder: 'Entrez ici votre entité', minimumInputLength: 2, allowClear: true, ajax: { quietMillis: 250, url: "/json-tiers", dataType: 'json', diff --git a/jm2l/templates/list_tiers.mako b/jm2l/templates/list_tiers.mako index b11c81b..b8c3374 100644 --- a/jm2l/templates/list_tiers.mako +++ b/jm2l/templates/list_tiers.mako @@ -5,7 +5,7 @@ -Ajouter une entitée - +Ajouter une entité - Editer les catégories
diff --git a/jm2l/views.py b/jm2l/views.py index 9c571f2..69b2c37 100644 --- a/jm2l/views.py +++ b/jm2l/views.py @@ -36,6 +36,14 @@ def remove_accents(input_str): only_ascii = nkfd_form.encode('ASCII', 'ignore') return only_ascii +def embeed_video(mime_type, link): + Container = "