diff --git a/CHANGELOG.md b/CHANGELOG.md index 931a8b009..143d8e48d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Updated i18next to 19.9.3 - Prevent the worker from crashing if OpenLab is not reachable in dev - Allow setting multiple themes for a single event +- Increased the width of the input field for the prices of the events - Fix a bug: the notification sent to the project author when a collaborator has confirmed his participation is not sent - Fix a bug: the event themes are not kept when editing the event again - Fix a security issue: updated underscore to 1.12.1 to fix [CVE-2021-23358](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23358) diff --git a/app/frontend/src/javascript/components/event-themes.tsx b/app/frontend/src/javascript/components/event-themes.tsx index 0723650eb..c5056f229 100644 --- a/app/frontend/src/javascript/components/event-themes.tsx +++ b/app/frontend/src/javascript/components/event-themes.tsx @@ -63,7 +63,6 @@ const EventThemes: React.FC = ({ event, onChange }) => { res.push(themes.find(t => t.id === opt.value)); }) onChange(res); - // compile } /** diff --git a/app/frontend/src/stylesheets/app.utilities.scss b/app/frontend/src/stylesheets/app.utilities.scss index a4d5e85f6..0dc97deec 100644 --- a/app/frontend/src/stylesheets/app.utilities.scss +++ b/app/frontend/src/stylesheets/app.utilities.scss @@ -458,6 +458,10 @@ p, .widget p { .p-l { padding: 16px; } +.p-h-0 { + padding-left: 0; + padding-right: 0; +} .p-h-xs { padding-left: 5px; diff --git a/app/frontend/templates/events/_form.html b/app/frontend/templates/events/_form.html index 6202531ed..79181c1b3 100644 --- a/app/frontend/templates/events/_form.html +++ b/app/frontend/templates/events/_form.html @@ -229,7 +229,7 @@
-
+
{{currencySymbol}}
@@ -246,7 +246,7 @@ ng-options="cat as cat.name for cat in priceCategories track by cat.id">
-
+
- +
-
+
diff --git a/config/locales/app.shared.en.yml b/config/locales/app.shared.en.yml index 91df0b503..5078e5673 100644 --- a/config/locales/app.shared.en.yml +++ b/config/locales/app.shared.en.yml @@ -160,6 +160,7 @@ en: event_themes: "Event themes" select_theme: "Pick up a theme..." age_range: "Age range" + add_price: "Add a price" #subscription plan edition form plan: general_information: "General information" diff --git a/config/locales/app.shared.fr.yml b/config/locales/app.shared.fr.yml index c5a9cc482..9a0c447d1 100644 --- a/config/locales/app.shared.fr.yml +++ b/config/locales/app.shared.fr.yml @@ -160,6 +160,7 @@ fr: event_themes: "Thèmes de l'événement" select_theme: "Choisissez un thème ..." age_range: "Tranche d'âge" + add_price: "Ajouter un tarif" #subscription plan edition form plan: general_information: "Informations générales"