diff options
Diffstat (limited to 'app/views/referential_stop_areas')
| -rw-r--r-- | app/views/referential_stop_areas/show.html.slim | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/referential_stop_areas/show.html.slim b/app/views/referential_stop_areas/show.html.slim index 9affba08e..7932b6c2e 100644 --- a/app/views/referential_stop_areas/show.html.slim +++ b/app/views/referential_stop_areas/show.html.slim @@ -20,10 +20,11 @@      .row        .col-lg-6.col-md-6.col-sm-12.col-xs-12          = definition_list t('metadatas'), -          { @stop_area.human_attribute_name(:stop_area_type) => t("area_types.label.#{@stop_area.stop_area_type}"), +          { 'ID Reflex' => @stop_area.try(:user_objectid), +            'Activé' => (@stop_area.deleted_at ? t('false') : t('true')), +            @stop_area.human_attribute_name(:comment) => @stop_area.try(:comment), +            @stop_area.human_attribute_name(:stop_area_type) => t("area_types.label.#{@stop_area.stop_area_type}"),              @stop_area.human_attribute_name(:registration_number) => @stop_area.registration_number, -            'Code Reflex' => @stop_area.try(:objectid),              'Coordonnées' => geo_data(@stop_area, @stop_area_referential),              @stop_area.human_attribute_name(:zip_code) => @stop_area.zip_code, -            @stop_area.human_attribute_name(:city_name) => @stop_area.city_name, -            'Etat' => (@stop_area.deleted_at ? 'Supprimé' : 'Actif') } +            @stop_area.human_attribute_name(:city_name) => @stop_area.city_name }  | 
