diff options
| -rw-r--r-- | app/views/referentials/_filters.html.slim | 2 | ||||
| -rw-r--r-- | config/locales/referentials.en.yml | 2 | ||||
| -rw-r--r-- | config/locales/referentials.fr.yml | 2 | 
3 files changed, 5 insertions, 1 deletions
diff --git a/app/views/referentials/_filters.html.slim b/app/views/referentials/_filters.html.slim index eadd72d9f..1ed0939ff 100644 --- a/app/views/referentials/_filters.html.slim +++ b/app/views/referentials/_filters.html.slim @@ -1,7 +1,7 @@  = search_form_for @q, url: referential_path(@referential.id), class: 'form form-filter' do |f|    .ffg-row      .input-group.search_bar -      = f.search_field :name_cont, class: 'form-control', placeholder: 'Indiquez un nom de ligne' +      = f.search_field :name_or_number_or_objectid_cont, class: 'form-control', placeholder: t('.name_or_number_or_objectid')        span.input-group-btn          button.btn.btn-default type='submit'            span.fa.fa-search diff --git a/config/locales/referentials.en.yml b/config/locales/referentials.en.yml index 574744085..7a4c60869 100644 --- a/config/locales/referentials.en.yml +++ b/config/locales/referentials.en.yml @@ -1,5 +1,7 @@  en:    referentials: +    filter: +      name_or_number_or_objectid: 'Search by name, number or objectid'      search_no_results: 'No data space matching your query'      index:        title: 'Data spaces' diff --git a/config/locales/referentials.fr.yml b/config/locales/referentials.fr.yml index 7e4f1c3b1..62c2add3b 100644 --- a/config/locales/referentials.fr.yml +++ b/config/locales/referentials.fr.yml @@ -1,5 +1,7 @@  fr:    referentials: +    filters: +      name_or_number_or_objectid: 'Indiquez un nom de ligne, nom court ou objectid'      search_no_results: 'Aucun jeu de données ne correspond à votre recherche'      index:        title: 'Jeux de données'  | 
