diff options
| author | Xinhui | 2016-12-01 12:16:24 +0100 |
|---|---|---|
| committer | Xinhui | 2016-12-01 12:17:26 +0100 |
| commit | f9963cf72299ab2bfb70da3a7fab7f64f8959b93 (patch) | |
| tree | 3bae4e78827124148e2ee52422ab3c34c57a5a37 | |
| parent | 8454c1bf744a3a266311a7e990d94d69456ddca8 (diff) | |
| download | chouette-core-f9963cf72299ab2bfb70da3a7fab7f64f8959b93.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 | 3 | ||||
| -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, 9 deletions
diff --git a/app/views/referential_stop_areas/index.html.slim b/app/views/referential_stop_areas/index.html.slim index fac1c7449..54a731de2 100644 --- a/app/views/referential_stop_areas/index.html.slim +++ b/app/views/referential_stop_areas/index.html.slim @@ -25,10 +25,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 1ebbee2cf..a02f9b9a8 100644 --- a/app/views/stop_areas/index.html.slim +++ b/app/views/stop_areas/index.html.slim @@ -26,9 +26,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 4030cf22e..9e5f605d9 100644 --- a/config/locales/stop_areas.en.yml +++ b/config/locales/stop_areas.en.yml @@ -54,7 +54,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 d776c1e74..b7d281ebe 100644 --- a/config/locales/stop_areas.fr.yml +++ b/config/locales/stop_areas.fr.yml @@ -59,7 +59,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" |
