diff --git a/app/views/members/activities/partials/_view.html.haml b/app/views/members/activities/partials/_view.html.haml index 509b8fbe6..5fb438b30 100644 --- a/app/views/members/activities/partials/_view.html.haml +++ b/app/views/members/activities/partials/_view.html.haml @@ -45,6 +45,12 @@ \- = activity.end_time.strftime("%H:%M")
+ - if activity.open_date != nil && !activity.open? + %strong= I18n.t("activerecord.labels.activities.opens_from") + = l(activity.open_date, format: "%A %d/%m/%Y") + - if !activity.open_time.nil? + = l(activity.open_time, format: "%H:%M") +
%strong= I18n.t("activerecord.attributes.activity.price") - if !activity.price.nil? and activity.price != 0 € diff --git a/config/locales/en.yml b/config/locales/en.yml index 62cd87665..0fb2353b4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -382,6 +382,7 @@ en: labels: activities: date: Date + opens_from: Enrollable from time: Time when: When messages: diff --git a/config/locales/nl.yml b/config/locales/nl.yml index f294877eb..2fdf9bf0e 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -382,6 +382,7 @@ nl: labels: activities: date: Datum + opens_from: Inschrijfbaar vanaf time: Tijd when: Wanneer messages: