diff options
| author | Xinhui | 2016-12-01 12:16:24 +0100 |
|---|---|---|
| committer | Xinhui | 2016-12-01 12:16:24 +0100 |
| commit | 7f372113f5bffbc4eaceff9dc767a5fd6f3b0386 (patch) | |
| tree | 14afa9589083e7fe691aae70eccb96d2b84ccdc4 | |
| parent | c95891548fad15470f38acbb5fe7e586b812df6f (diff) | |
| download | chouette-core-7f372113f5bffbc4eaceff9dc767a5fd6f3b0386.tar.bz2 | |
Remove stop_area objectid search field
Refs #2032
| -rw-r--r-- | app/views/referential_stop_areas/index.html.slim | 4 | ||||
| -rw-r--r-- | app/views/stop_areas/index.html.slim | 4 | ||||
| -rw-r--r-- | config/locales/stop_areas.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/stop_areas.fr.yml | 1 |
4 files changed, 0 insertions, 10 deletions
diff --git a/app/views/referential_stop_areas/index.html.slim b/app/views/referential_stop_areas/index.html.slim index dc4bbf3a3..48625ca68 100644 --- a/app/views/referential_stop_areas/index.html.slim +++ b/app/views/referential_stop_areas/index.html.slim @@ -23,10 +23,6 @@ = f.text_field :city_name_cont, placeholder: "#{t('.city_name')}", class: 'form-control typeahead', style: 'width: 100%' .col-sm-3 = f.select(:area_type_cont, options_from_collection_for_select(Chouette::StopArea.stop_area_types, 'name', Proc.new { |stop_area_type| t("area_types.label.#{stop_area_type}") } ), { include_blank: '' }, { class: 'form-control', style: 'width: 100%', 'data-select2ed': 'true', 'data-select2ed-placeholder': t(".area_type") }) - .row - .col-sm-3 - = f.text_field :objectid_cont, placeholder: "#{t('.objectid')}", class: 'form-control typeahead', style: 'width: 100%' - #stop_areas = render 'stop_areas' diff --git a/app/views/stop_areas/index.html.slim b/app/views/stop_areas/index.html.slim index 9716fbaf0..02bfee224 100644 --- a/app/views/stop_areas/index.html.slim +++ b/app/views/stop_areas/index.html.slim @@ -23,10 +23,6 @@ = f.text_field :city_name_cont, placeholder: "#{t('.city_name')}", class: 'form-control typeahead', style: 'width: 100%' .col-sm-3 = f.select(:area_type_cont, options_from_collection_for_select(Chouette::StopArea.stop_area_types, 'name', Proc.new { |stop_area_type| t("area_types.label.#{stop_area_type}") } ), { include_blank: '' }, { class: 'form-control', style: 'width: 100%', 'data-select2ed': 'true', 'data-select2ed-placeholder': t(".area_type") }) - .row - .col-sm-3 - = f.text_field :objectid_cont, placeholder: "#{t('.objectid')}", class: 'form-control typeahead', style: 'width: 100%' - #stop_areas = render 'stop_areas' diff --git a/config/locales/stop_areas.en.yml b/config/locales/stop_areas.en.yml index fc1d3037e..dc1716198 100644 --- a/config/locales/stop_areas.en.yml +++ b/config/locales/stop_areas.en.yml @@ -55,7 +55,6 @@ en: name_or_objectid: "Search by name or by objectid..." zip_code: "Zip Code" city_name: "City name" - objectid: "Object id" selection: "Filter on" selection_all: "All" area_type: "Area Type" diff --git a/config/locales/stop_areas.fr.yml b/config/locales/stop_areas.fr.yml index 29dd183ca..946199c68 100644 --- a/config/locales/stop_areas.fr.yml +++ b/config/locales/stop_areas.fr.yml @@ -60,7 +60,6 @@ fr: name_or_objectid: "Recherche par nom ou par objectid..." zip_code: "Code Postal" city_name: "Commune" - objectid: "Code interne" title: "ArrĂȘts" selection: "Filtrer sur" selection_all: "Tous" |
