demarches-normaliennes/app
Pierre de La Morinerie b8f71bd52c i18n: fix enum values for Dossier.state
According to Rails i18n guide, enum values should be localized
as `<model>/<enum>`, not as sub-values to the attribute.

This fixes an exception in administrate when displaying a Dossier
in the Manager.

Note: we need to change the way GraphQL attributes are generated, because
`AASM::Core::State#display_name` doesn’t honor the `model/attribute.value`
convention (and instead tries to localize as `model.attribute/value`).
So instead we lookup the localized name using ActiveRecord.
2021-05-06 14:38:25 +02:00
..
assets stick arrow with label 2021-05-06 09:13:20 +02:00
controllers Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation" 2021-05-04 16:03:29 +02:00
dashboards [manager] list superadmins 2021-04-15 10:12:11 +02:00
fields manager: remove support for old pj 2019-07-30 16:11:17 +02:00
graphql i18n: fix enum values for Dossier.state 2021-05-06 14:38:25 +02:00
helpers i18n: fix enum values for Dossier.state 2021-05-06 14:38:25 +02:00
javascript replace fontawesome with heroicons 2021-04-29 15:20:05 +02:00
jobs Revert "Revert "Export de tous les dossier d'une démarche"" 2021-04-29 17:29:47 +02:00
lib prend en compte uniquement les pj pour estimer la taille d'un dossier 2021-05-04 12:50:12 +02:00
mailers Refactor NotificationMailer 2021-05-04 12:05:06 +02:00
models do not know how it worked before 2021-05-05 14:36:34 +02:00
policies policies: clarify the role of ChampPolicy 2020-06-24 15:42:30 +02:00
schemas Add api address external data fetch 2021-02-17 19:10:16 +01:00
serializers modify experts avis controllers, concern and serializer 2021-03-18 11:38:52 +01:00
services display follower instructeur emails in alphabetic order 2021-05-04 16:38:34 +02:00
validators Add geo json validation 2021-03-11 15:51:09 +01:00
views manager: use administrate helper to retrieve resource path 2021-05-06 11:11:04 +02:00