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 @@