@@ -311,7 +311,7 @@ def self.observations
311311 column :actions_taken , sortable : false do |o |
312312 o . actions_taken [ 0 ..100 ] + ( ( o . actions_taken . length >= 100 ) ? "..." : "" ) if o . actions_taken
313313 end
314- column I18n . t ( "activerecord.attributes.observation/translation. details" ) , class : "col-details" , & :details
314+ column : details, class : "col-details"
315315 column :evidence_type
316316 column I18n . t ( "active_admin.menu.independent_monitoring.evidence" ) , class : "col-evidence" do |o |
317317 links = [ ]
@@ -322,7 +322,7 @@ def self.observations
322322 links . reduce ( :+ )
323323 end
324324 column :evidence_on_report , sortable : false
325- column I18n . t ( "activerecord.attributes.observation/translation. concern_opinion" ) , class : "col-concern_opinion" do |o |
325+ column : concern_opinion, class : "col-concern_opinion" do |o |
326326 o . concern_opinion [ 0 ..100 ] + ( ( o . concern_opinion . length >= 100 ) ? "..." : "" ) if o . concern_opinion
327327 end
328328 column :pv , sortable : false
@@ -382,17 +382,17 @@ def self.observations
382382 [ "severity" , I18n . t ( "activerecord.models.severity" ) , :checked ] ,
383383 [ "publication_date" , I18n . t ( "activerecord.attributes.observation.publication_date" ) , :checked ] ,
384384 [ "actions_taken" , I18n . t ( "activerecord.attributes.observation.actions_taken" ) , :checked ] ,
385- [ "details" , I18n . t ( "activerecord.attributes.observation/translation. details" ) , :checked ] ,
385+ [ "details" , Observation . human_attribute_name ( : details) , :checked ] ,
386386 [ "evidence_type" , I18n . t ( "activerecord.attributes.observation.evidence_type" ) , :checked ] ,
387387 [ "evidence" , I18n . t ( "active_admin.menu.independent_monitoring.evidence" ) , :checked ] ,
388388 [ "evidence_on_report" , I18n . t ( "activerecord.attributes.observation.evidence_on_report" ) , :checked ] ,
389- [ "concern_opinion" , I18n . t ( "activerecord.attributes.observation/translation .concern_opinion" ) , :checked ] ,
389+ [ "concern_opinion" , I18n . t ( "activerecord.attributes.observation.concern_opinion" ) , :checked ] ,
390390 [ "pv" , I18n . t ( "activerecord.attributes.observation.pv" ) , :checked ] ,
391391 [ "location_accuracy" , I18n . t ( "activerecord.attributes.observation.location_accuracy" ) , :checked ] ,
392392 [ "lat" , I18n . t ( "activerecord.attributes.observation.lat" ) , :checked ] ,
393393 [ "lng" , I18n . t ( "activerecord.attributes.observation.lng" ) , :checked ] ,
394394 [ "is_physical_place" , I18n . t ( "activerecord.attributes.observation.is_physical_place" ) , :checked ] ,
395- [ "litigation_status" , I18n . t ( "activerecord.attributes.observation/translation .litigation_status" ) , :checked ] ,
395+ [ "litigation_status" , I18n . t ( "activerecord.attributes.observation.litigation_status" ) , :checked ] ,
396396 [ "report" , I18n . t ( "document_types.Report" ) , :checked ] ,
397397 [ "monitor_comment" , I18n . t ( "activerecord.attributes.observation.monitor_comment" ) , :checked ] ,
398398 [ "user" , I18n . t ( "activerecord.attributes.observation.user" ) , :checked ] ,
0 commit comments