Replace custom search placeholder with ui.search_placeholder

This commit is contained in:
Patrick Gansterer 2019-10-30 12:00:46 +01:00
parent 1550eedb5a
commit 30c53746fc
7 changed files with 5 additions and 18 deletions

View File

@ -1,7 +1,7 @@
.well.well-small .well.well-small
= search_form_for @q, url: url, = search_form_for @q, url: url,
html: {data: {'submit-onchange' => true}, method: :get, remote: true, class: 'form-search'} do |f| html: {data: {'submit-onchange' => true}, method: :get, remote: true, class: 'form-search'} do |f|
= f.text_field :note_cont, class: 'search-query', placeholder: t('.search_placeholder') = f.text_field :note_cont, class: 'search-query', placeholder: t('ui.search_placeholder')
   
= label_tag 'q_created_on_gteq', FinancialTransaction.human_attribute_name(:created_on) = label_tag 'q_created_on_gteq', FinancialTransaction.human_attribute_name(:created_on)
@ -19,4 +19,3 @@
= f.text_field :amount_gteq, class: 'input-mini' = f.text_field :amount_gteq, class: 'input-mini'
%span.add-on - %span.add-on -
= f.text_field :amount_lteq, class: 'input-mini search-query' = f.text_field :amount_lteq, class: 'input-mini search-query'

View File

@ -8,7 +8,7 @@
= form_tag finance_ordergroups_path, :method => :get, :remote => true, = form_tag finance_ordergroups_path, :method => :get, :remote => true,
'data-submit-onchange' => true, class: 'form-search' do 'data-submit-onchange' => true, class: 'form-search' do
= text_field_tag :query, params[:query], class: 'input-medium search-query', = text_field_tag :query, params[:query], class: 'input-medium search-query',
placeholder: t('.search_placeholder') placeholder: t('ui.search_placeholder')
#ordergroupsTable #ordergroupsTable
= render :partial => "ordergroups" = render :partial => "ordergroups"

View File

@ -781,8 +781,6 @@ de:
ordergroup: ordergroup:
remove: Entfernen remove: Entfernen
remove_group: Gruppe enfernen remove_group: Gruppe enfernen
transactions_search:
search_placeholder: Suche nach ...
index: index:
amount_fc: Betrag(FC) amount_fc: Betrag(FC)
end: Ende end: Ende
@ -811,7 +809,6 @@ de:
ordergroups: ordergroups:
index: index:
new_transaction: Neue Überweisungen eingeben new_transaction: Neue Überweisungen eingeben
search_placeholder: Suchen ...
show_all: Alle Transaktionen show_all: Alle Transaktionen
title: Konten verwalten title: Konten verwalten
ordergroups: ordergroups:
@ -1622,6 +1619,7 @@ de:
please_wait: Bitte warten... please_wait: Bitte warten...
restore: Wiederherstellen restore: Wiederherstellen
save: Speichern save: Speichern
search_placeholder: Suchen ...
show: Anzeigen show: Anzeigen
workgroups: workgroups:
edit: edit:

View File

@ -823,8 +823,6 @@ en:
ordergroup: ordergroup:
remove: Remove remove: Remove
remove_group: Remove group remove_group: Remove group
transactions_search:
search_placeholder: Search note ...
index: index:
amount_fc: Amount(FC) amount_fc: Amount(FC)
end: End end: End
@ -853,7 +851,6 @@ en:
ordergroups: ordergroups:
index: index:
new_transaction: Add new transactions new_transaction: Add new transactions
search_placeholder: Search ...
show_all: All transactions show_all: All transactions
title: Manage accounts title: Manage accounts
ordergroups: ordergroups:

View File

@ -742,8 +742,6 @@ es:
ordergroup: ordergroup:
remove: Remover remove: Remover
remove_group: Remover grupo remove_group: Remover grupo
transactions_search:
search_placeholder: Busca nota ...
index: index:
amount_fc: Importe(FC) amount_fc: Importe(FC)
end: Fin end: Fin
@ -772,7 +770,6 @@ es:
ordergroups: ordergroups:
index: index:
new_transaction: Añade nuevas transacciones new_transaction: Añade nuevas transacciones
search_placeholder: Busca...
show_all: Todas las transacciones show_all: Todas las transacciones
title: Maneja los grupos title: Maneja los grupos
ordergroups: ordergroups:
@ -1507,6 +1504,7 @@ es:
please_wait: Espera... please_wait: Espera...
restore: Restaura restore: Restaura
save: Guardar save: Guardar
search_placeholder: Busca ...
show: Mostrar show: Mostrar
workgroups: workgroups:
edit: edit:

View File

@ -590,8 +590,6 @@ fr:
ordergroup: ordergroup:
remove: Supprimer remove: Supprimer
remove_group: Supprimer cette cellule remove_group: Supprimer cette cellule
transactions_search:
search_placeholder: Recherche notes ...
index: index:
amount_fc: Montant(boufcoop) amount_fc: Montant(boufcoop)
end: Fin end: Fin
@ -614,7 +612,6 @@ fr:
ordergroups: ordergroups:
index: index:
new_transaction: Saisir une nouvelle transaction new_transaction: Saisir une nouvelle transaction
search_placeholder: Rechercher ...
show_all: Toutes transactions show_all: Toutes transactions
title: Crédits des cellules title: Crédits des cellules
ordergroups: ordergroups:
@ -1353,6 +1350,7 @@ fr:
or_cancel: ou annuler or_cancel: ou annuler
please_wait: Merci de patienter... please_wait: Merci de patienter...
save: Sauvegarder save: Sauvegarder
search_placeholder: Rechercher ...
show: Afficher show: Afficher
workgroups: workgroups:
edit: edit:

View File

@ -820,8 +820,6 @@ nl:
ordergroup: ordergroup:
remove: Verwijderen remove: Verwijderen
remove_group: Huishouden verwijderen remove_group: Huishouden verwijderen
transactions_search:
search_placeholder: Zoeken in notitie ...
index: index:
amount_fc: Bedrag(FC) amount_fc: Bedrag(FC)
end: Einde end: Einde
@ -850,7 +848,6 @@ nl:
ordergroups: ordergroups:
index: index:
new_transaction: Nieuwe transacties toevoegen new_transaction: Nieuwe transacties toevoegen
search_placeholder: Zoeken ...
show_all: Transactieoverzicht show_all: Transactieoverzicht
title: Tegoeden beheren title: Tegoeden beheren
ordergroups: ordergroups: