diff --git a/CHANGELOG.md b/CHANGELOG.md index 22a970724c..a6c784da35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - improvement: hide gender in member create/edit form if not required - Fix a bug: unable to update member's profile +- Fix a bug: unable to show machine/training picture - updates translations ## v6.3.19 2024 Avril 9 diff --git a/app/frontend/src/javascript/filters/filters.js b/app/frontend/src/javascript/filters/filters.js index 2935103667..ef6d620b93 100644 --- a/app/frontend/src/javascript/filters/filters.js +++ b/app/frontend/src/javascript/filters/filters.js @@ -367,3 +367,11 @@ Application.Filters.filter('currency', [function ($locale) { : new Intl.NumberFormat(Fablab.intl_locale, { style: 'currency', currency: Fablab.intl_currency }).format(amount); }; }]); + +Application.Filters.filter('encodeURI', [function () { + return function (str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return '%' + c.charCodeAt(0).toString(16); + }); + }; +}]); diff --git a/app/frontend/templates/home/projects.html b/app/frontend/templates/home/projects.html index e215c73778..343a216bb1 100644 --- a/app/frontend/templates/home/projects.html +++ b/app/frontend/templates/home/projects.html @@ -2,7 +2,7 @@

{{ 'app.public.home.latest_documented_projects' }}

- + diff --git a/app/frontend/templates/projects/index.html b/app/frontend/templates/projects/index.html index 6aabdbc522..40bcb635c5 100644 --- a/app/frontend/templates/projects/index.html +++ b/app/frontend/templates/projects/index.html @@ -117,7 +117,7 @@

{{ 'app.public.projects_list.filter' }}

{{ 'app.public.projects_list.project_search_result_is_empty' | translate }}
-
+
diff --git a/app/frontend/templates/spaces/index.html b/app/frontend/templates/spaces/index.html index 09c5dec9fa..7df55692f1 100644 --- a/app/frontend/templates/spaces/index.html +++ b/app/frontend/templates/spaces/index.html @@ -52,7 +52,7 @@

{{ 'app.public.spaces_list.the_spaces' }}

-
+

{{space.name}}

diff --git a/app/frontend/templates/trainings/index.html b/app/frontend/templates/trainings/index.html index c370ac1267..c56fe6906f 100644 --- a/app/frontend/templates/trainings/index.html +++ b/app/frontend/templates/trainings/index.html @@ -25,7 +25,7 @@

{{ 'app.public.trainings_list.the_trainings' }}

-
+

{{training.name}}