diff --git a/src/assets/js/autocomplete.js b/src/assets/js/autocomplete.js index fad06497..24bee2fe 100755 --- a/src/assets/js/autocomplete.js +++ b/src/assets/js/autocomplete.js @@ -36,7 +36,7 @@ } // Insert the icons - $searchFields.after(''); + $searchFields.after('Clear'); $('.form-search').append(''); $('body').on('click', '[data-form-search-clear]', function () { diff --git a/src/locales/de/styleguide.yml b/src/locales/de/styleguide.yml index bfe775d5..d2d4980f 100644 --- a/src/locales/de/styleguide.yml +++ b/src/locales/de/styleguide.yml @@ -17,4 +17,5 @@ disclaimer: link: http://www.disclaimer.admin.ch/terms_and_conditions.html global-search: title: Suche + reset: Zurücksetzen nothing-found: Nichts gefunden. diff --git a/src/locales/en/styleguide.yml b/src/locales/en/styleguide.yml index 33642f58..779fa737 100644 --- a/src/locales/en/styleguide.yml +++ b/src/locales/en/styleguide.yml @@ -17,4 +17,5 @@ disclaimer: link: http://www.disclaimer.admin.ch/terms_and_conditions.html global-search: title: Search + reset: Reset nothing-found: Nothing found. diff --git a/src/locales/fr/styleguide.yml b/src/locales/fr/styleguide.yml index cbd5fa5a..6222406d 100755 --- a/src/locales/fr/styleguide.yml +++ b/src/locales/fr/styleguide.yml @@ -17,4 +17,5 @@ disclaimer: link: http://www.disclaimer.admin.ch/terms_and_conditions.html global-search: title: Chercher + reset: Rétablir nothing-found: Rien n'a été trouvé. diff --git a/src/views/layouts/includes/f-header.html b/src/views/layouts/includes/f-header.html index f048fc9e..2e5a1dc6 100644 --- a/src/views/layouts/includes/f-header.html +++ b/src/views/layouts/includes/f-header.html @@ -32,7 +32,9 @@

{{t 'styleguide.title'}}

{{t 'styleguide.global-search.title'}}

- + + {{t 'styleguide.global-search.reset'}} +