mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
remove course & workshop from seeds file
This commit is contained in:
parent
5750aec326
commit
471fe971bc
@ -254,3 +254,5 @@ en:
|
||||
hours_number: "Hours number"
|
||||
tickets_number: "Tickets number"
|
||||
revenue: "Revenue"
|
||||
account_creation: "Account creation"
|
||||
project_publication: "Project publication"
|
||||
|
@ -254,7 +254,5 @@ fr:
|
||||
hours_number: "Nombre d'heures"
|
||||
tickets_number: "Nombre de places"
|
||||
revenue: "Chiffre d'affaires"
|
||||
course: "Stage"
|
||||
workshop: "Atelier"
|
||||
account_creation: "Création de compte"
|
||||
project_publication: "Publication de projet"
|
||||
|
@ -57,9 +57,6 @@ end
|
||||
|
||||
if StatisticSubType.count == 0
|
||||
StatisticSubType.create!([
|
||||
{key: 'Stage', label:I18n.t('statistics.course'), statistic_types: StatisticIndex.find_by(es_type_key: 'event').statistic_types},
|
||||
{key: 'Atelier', label:I18n.t('statistics.workshop'), statistic_types: StatisticIndex.find_by(es_type_key: 'event').statistic_types},
|
||||
|
||||
{key: 'created', label:I18n.t('statistics.account_creation'), statistic_types: StatisticIndex.find_by(es_type_key: 'account').statistic_types},
|
||||
{key: 'published', label:I18n.t('statistics.project_publication'), statistic_types: StatisticIndex.find_by(es_type_key: 'project').statistic_types}
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user