diff options
| author | Zog | 2018-03-29 11:16:51 +0200 | 
|---|---|---|
| committer | Zog | 2018-03-29 11:16:55 +0200 | 
| commit | dca8f770251cae1fda3a1bca1d06210f8e55ddcf (patch) | |
| tree | fd58265e3679b419bf5e5b9d4a251d8eac592839 | |
| parent | 205380dc853ea8e0dc9643f159354c8e15c44fe0 (diff) | |
| download | chouette-core-dca8f770251cae1fda3a1bca1d06210f8e55ddcf.tar.bz2 | |
Fix calendars view
| -rw-r--r-- | app/views/calendars/_filters.html.slim | 2 | ||||
| -rw-r--r-- | config/locales/calendars.en.yml | 2 | ||||
| -rw-r--r-- | config/locales/calendars.fr.yml | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/app/views/calendars/_filters.html.slim b/app/views/calendars/_filters.html.slim index 5317c433f..d7e2a927e 100644 --- a/app/views/calendars/_filters.html.slim +++ b/app/views/calendars/_filters.html.slim @@ -1,7 +1,7 @@  = search_form_for @q, url: workgroup_calendars_path(@workgroup), builder: SimpleForm::FormBuilder, html: { method: :get, class: 'form form-filter' } do |f|    .ffg-row      .input-group.search_bar class=filter_item_class(params[:q], :name_or_short_name_cont) -      = f.search_field :name_or_short_name_cont, class: 'form-control', placeholder: I18n.t('calendars.filters.name_or_short_name_cont') +      = f.search_field :name_cont, class: 'form-control', placeholder: I18n.t('calendars.filters.name_cont')        span.input-group-btn          button.btn.btn-default#search_btn type='submit'            span.fa.fa-search diff --git a/config/locales/calendars.en.yml b/config/locales/calendars.en.yml index edda18305..3d16e7c05 100644 --- a/config/locales/calendars.en.yml +++ b/config/locales/calendars.en.yml @@ -1,7 +1,7 @@  en:    calendars:      filters: -      name_or_short_name_cont: Search by name/short name +      name_cont: Search by name      search_no_results: 'No calendar template matching your query'      days:        monday: M diff --git a/config/locales/calendars.fr.yml b/config/locales/calendars.fr.yml index f3bcf7c3d..8c933f168 100644 --- a/config/locales/calendars.fr.yml +++ b/config/locales/calendars.fr.yml @@ -1,7 +1,7 @@  fr:    calendars:      filters: -      name_or_short_name_cont: 'Indiquez un nom/nom court de calendrier...' +      name_cont: 'Indiquez un nom de calendrier...'        no_results: 'Aucun calendrier ne correspond à votre recherche'      days:        monday: L | 
