1
0
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:
Sylvain 2016-06-30 15:13:58 +02:00
parent 5750aec326
commit 471fe971bc
3 changed files with 2 additions and 5 deletions

View File

@ -254,3 +254,5 @@ en:
hours_number: "Hours number"
tickets_number: "Tickets number"
revenue: "Revenue"
account_creation: "Account creation"
project_publication: "Project publication"

View File

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

View File

@ -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}
])